Skip to content

Links within footnotes break the footnote #19

@amphibian

Description

@amphibian

Describe the bug

When adding links to footnote text, either before or after creating the footnote (turning it into a <sup> element), the links is wrapped in its own <sup>, and any text before and after is wrapped in their own <sup> elements.

Steps to reproduce

  1. Add a link to part of a string which you want to turn into a footnote.
  2. Turn that text into a footnote.

Craft CMS version

5.7.1.1

Plugin version

5.1.0

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions