#16970Wrong rendering of <PRE>
Description
HTML source of the page content contains the following code:
This is example for the code. First row. Second row. <SOME TAG>
Correct rendering should leave this code “as it is” in output HTML.
With default configuration, Typo3 renders it inappropriately. The output HTML is:
</p> <p>This is example for the code. </p> <p>First row. </p> <p>Second row. </p> <p><SOME TAG> </p> <p>
Patch:
Open /typo3/sysext/css_styled_content/static/setup.txt
- Add “pre” to lib.parseFunc_RTE.externalBlocks
- Remove “pre” from
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList
(issue imported from #M4961)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.