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
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