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

Stanislas Rolland typo3 at sjbr.ca
Wed Jun 16 03:02:41 CEST 2010


Le 2010-06-15 20:02, Adam Casto a écrit :
> 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.
>
Yes, I confirm that there is a problem. Please report it in the 
bugtracker. And indeed the problem would be in 
t3lib/class.t3lib_parsehtml_proc.php.

Regards,
Stanislas






More information about the TYPO3-dev mailing list