Fieldtype

Developer
Supported

Expresso

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

Expresso stripping HTML

Support (Resolved)

mediapimp
mediapimp

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"></spanPoland</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
# 1
Developer
PutYourLightsOn

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">&nbsp;</spanPoland</li
mediapimp
# 2
mediapimp

That did the trick. Thank you!

PutYourLightsOn
# 3
Developer
PutYourLightsOn

Glad to hear it.