[TYPO3-core] RFC #5896: Inserting a divider (<hr>) in the RTE breaks XHTML validation (and other things)

Stanislas Rolland typo3 at sjbr.ca
Fri Dec 17 07:44:16 CET 2010


REMINDER #1

Le 2010-12-05 23:30, Stanislas Rolland a écrit :
> This is a SVN patch request.
>
> Type: Bugfix
>
> Problem:
> Transformation and rendering of the hr element is messy: hr tag is
> wrapped despite not being valid inside paragraphs, links get broken when
> entered after an hr element, etc.
>
> Solution:
> 1. Fix the RTE transformation (t3lib_parsehtml_proc):
> 1.1 Remove hr from $blockElementList;
> 1.2 Add hr to allowTagsOutside;
> 1.3 Wrap hr tags with LF on way to database
> 1.4 Avoid wrapping hr in paragraph on way to RTE.
> 2. Fix hr rendering (tslib_content):
> 2.1 Fix parseFunc handling of empty tags;
> 2.2 Fix encaps_lineSplit handling of empty tags (if on a single line)
> (from patch by Bernhard Kraft)
> 3.0 Add hr to
> lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList
> (css_styled_content static template).
>
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=5896
> http://bugs.typo3.org/view.php?id=10609
> http://bugs.typo3.org/view.php?id=12851
> http://bugs.typo3.org/view.php?id=12982
>
> Branches:
> trunk
> TYPO3_4-4
>
> Kind regards,
> Stanislas




More information about the TYPO3-team-core mailing list