Prevent stripping of "special" a tag
-
Hi,
I’m using these “special” links on the homepage of one of my websites. When looking at this link on my site (thanks to some nice css in place as well), it appears like a linked image.
Because of page load speed reasons and to display images in high resolution, I chose to go with a link like this, instead of embedding an image the way I normally would.
I think, because this appears to be an “empty” link, my code gets stripped when I switch between “Visual” and “Text” editors. Can you provide a way to prevent those a tags from getting stripped when switching back and forth?
<a class="frontpage-link" style="background-image: url(/wp-content/uploads/circle.jpg);" href="https://mysite.org/" target="_blank"></a>
- The topic ‘Prevent stripping of "special" a tag’ is closed to new replies.