Issue Bug Closed

#14628CSS Styled Contnent and linebreaks inserted by t3lib_parsehtml_proc

Stanislas Rolland 03/28/05, 16:52 updated 10/18/10, 19:52

Description

Method TS_transform_db of class t3lib_parsehtml_proc inserts supefluous linebreaks after tags PRE, UL, OL, H1, H2, H3, H4, H5, H6, TABLE and BLOCKQUOTE.
These get transforned in

 

by CSS Styled Content.

I don’t know if the problem is in CSS Styled Content or in t3lib_parsehtml_proc, but, for the purposes of rtehtmlarea, I extended t3lib_parsehtml_proc replacing
$lastBR = $cc==$aC ? ‘’ : chr(10);
with
$lastBR = ($css || $cc==$aC) ? ‘’ : chr(10);
(issue imported from #M919)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.