Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1419436

    hi!

    I’ve been knocking my head against the wall today about this problem – can you help?

    When I copy/paste my html code I made in textedit into the text view of a text element, wordpress changes my anchor links –

    From this:
    Link:
     <a id="#mensinger-2"><sup>[2]</sup></a>
    Target:
     <a id="mensinger-2"><sup>[2]</sup></a>

    To:
    Link:
     <a id="#mensinger-2"></a><sup>[2]</sup>
    Target:
     <a id="#mensinger-2"></a><sup>[2]</sup>

    Wordpress moves <sup>[2]</sup> outside of the link!

    Any help you can provide would be SO appreciated!

    Doug

    • This topic was modified 1 year, 2 months ago by doug123.
    • This topic was modified 1 year, 2 months ago by doug123.
    #1419440

    Hey doug123,

    Thank you for the inquiry.

    Have you tried wrapping the a tag with sup instead of the other way around?

     <sup><a id="#mensinger-2">[2]</a></sup>
    

    You can also use css to emulate superscript and subscript text instead of using the actual tags.

    // https://cssdeck.com/blog/create-superscript-and-subscript-text-in-css/

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.