Won't work in anchor tags
-
I put this in a page:
<a href="https://www.wikipedia.com/blah" [wiki]>Blah</a>
I put this in the Text Replace settings:
style="background: transparent url(https://example.com/icons/wikipedia.png) center right no-repeat;padding-right: 16px;" alt="this links to a Wikipedia article" title="this links to a Wikipedia article"
I had expected the portion [wiki] to be replaced by the appropriate code.
Instead, the source code reads:
<a href="https://blah.com" [wiki]>Blah</a>
The link is intact and clickable but no icon appears to the right of the link, nor is there alt or title text, as I was attempting to accomplish.
Is this a limitation of the plugin, or is this new? I’ve not encountered this error before.
- The topic ‘Won't work in anchor tags’ is closed to new replies.