Skip to content
Snippets Groups Projects
Commit e702ef02 authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Style attributes are removed in span tags by TYPO3

parent b4e67258
No related branches found
No related tags found
No related merge requests found
......@@ -81,13 +81,16 @@ RTE.default.proc {
i.remap = em
## CLEAN ATTRIBUTES ON THE FOLLOWING TAGS
span.fixAttrib.style.unset = 1
span.allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop, style
span.rmTagIfNoAttrib = 1
span {
allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop, style
rmTagIfNoAttrib = 1
}
p {
allowedAttribs = id, title, dir, lang, xml:lang, class, itemscope, itemtype, itemprop, style
fixAttrib.align.unset = 1
}
div < .p
hr.allowedAttribs = class
b.allowedAttribs < .span.allowedAttribs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment