Actions
Bug #14628
closedCSS Styled Contnent and linebreaks inserted by t3lib_parsehtml_proc
Status:
Closed
Priority:
Should have
Assignee:
Category:
Content Rendering
Target version:
-
Start date:
2005-03-28
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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 <p class="bodytext"> </p> 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)
Actions