[TYPO3-core] RFC #14748: Span tags with multiple classes being removed by RTE transformation

Susanne Moog info at susannemoog.de
Wed Jun 16 18:12:13 CEST 2010


On 16.06.2010 06:33, Stanislas Rolland wrote:
> Hi,
> 
> This is a SVN patch request.
> 
> Type:
> Bugfix
> 
> Problem:
> htmlparser option 'fixAttrib' allows to specify a list of admissible
> values for an attribute. The feature is used by the RTE transformation
> to remove any unallowed class from span and paragraph elements. However,
> if the element has multiple classes, the value will not be found in the
> list.
> 
> Solution:
> In the case of the class attribute, the htmlparser should check if each
> class specified on the attribute is in the list of admissible values,
> and remove any non admissible value.
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14746
> 
> Branches:
> trunk
> TYPO3_4-3

+1 by reading and testing with trunk.

Susanne


More information about the TYPO3-team-core mailing list