Expresso
ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From PutYourLightsOn
Expresso stripping HTML
Support (Resolved)
mediapimp
|
Posted: 03 July 2018 12:57 PM |
|
|
|
Expresso is stripping spans out of my code.
I am putting a span within an <li> and every time I save my entry, they are gone.
I put in this:
<li><span class="flag-icon flag-icon-pl"></span> Poland</li>
And get this after saving:
<li>Poland</li>
I am using Expresso 5.1.0 with EE 4.3.1.
Any help is appreciated.
|
|
|
PutYourLightsOn
|
Posted: 05 July 2018 04:30 PM |
# 1
|
|
Developer
|
That is happening because CKEditor is stripping the empty span. Does adding a non-breaking space perhaps help?
<li><span class="flag-icon flag-icon-pl"> </span> Poland</li>
|
|
|
mediapimp
|
Posted: 05 July 2018 05:36 PM |
# 2
|
|
|
That did the trick. Thank you!
|
|
|
PutYourLightsOn
|
Posted: 06 July 2018 01:50 PM |
# 3
|
|
Developer
|
Glad to hear it.
|
|
|