There’s no <img> tag in between your span. Is that the problem?
Send me the url of a page I can observe the issue, that will help troubleshoot.
Thread Starter
ObanTM
(@obantm)
There’s no need in IMG tag for Genericon/Fontawesome/Icomotion kind of icon font sets.
They’re using CSS classes and pesudoelement ::after to display the content.
Unforunatelly I can not send you the URL. It’s a live site, and if I keep the code it will ruin my layout.
But here’s a couple of shots:
How it looks from the front:
http://m08i.imgup.net/2016-08-24177f.png
It’s source code:
http://p67i.imgup.net/2016-08-24ee67.png
As you can see < > ' replaced with HTML entities. Is there any workabouts for it?
Does it work if you use a regular image or text? If so, then troubleshoot your font set.
Thread Starter
ObanTM
(@obantm)
There’s nothing wrong with the font set. It works well when I inject icon classes into your <SPAN class="printfriendly-text2"> tag.
Shown here: http://m38i.imgup.net/2016-08-272896.png (http://prioncrb.ru/job/vacancy.html) Done with the jQuery function AddClass().
My layout goes berserk when I put my own SPAN (or whatever else) tag in your ‘Text’ input field because of a filter applied to it’s value. That filter replaces angle brackets with HTML entities so HTML code becomes a text.
Was this resolved? I am having the same issue using FontAwesome. It was working fine before I updated the plugin but now any HTML I put into the ‘Text’ input field just shows as text, not HTML.
Work around, get the HTML button code and add the HTML code direct to your template.
We’ve got icon support on our roadmap, but might take some time to release.
Thanks for the reply… The funny thing is that it worked fine until the most recent update. So whatever you added in that update strips out the html in the text box.
This is working now. You can now add HTML to the text field.