Bug #22900
closedSpan tags with multiple classes being removed
0%
Description
When a span with more than one class is present within a paragraph, it is being removed. I have verified it with a fresh install of 4.3.3. Here is what I have found so far:
Span within a paragraph with a single class works fine. Classes are properly listed in allowedClasses. All work individually.
Span within another blocklevel element, such as H1, with multiple classes work fine.
Is happening in the transformation from RTE -> DB. Manually adding classes via the database presents fine in both FE and RTE. Subsequently saving from the RTE will remove the classes.
Setting rmTagIfNoAttrib to '0' results in the span being left intact but with no class(es). Meaning span is being stripped because it is being left empty due to a problem handling the classes and not a problem with the tag in particular.
Problem presumably in t3lib/class.t3lib_parsehtml_proc.php
(issue imported from #M14748)
Files