[TYPO3-dev] Span being removed when more than one class is present

Adam Casto adam at iptic.com
Wed Jun 16 02:02:25 CEST 2010


Wanted to make sure this was a bug before reporting it. 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. 

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. 

I have looked through t3lib/class.t3lib_parsehtml_proc.php, if that is
indeed where the problem is, but I am not yet familiar enough with the code
to figure out what is going on. 

Thanks,

Adam Casto





More information about the TYPO3-dev mailing list