Project

General

Profile

Actions

Bug #16970

closed

Wrong rendering of <PRE>

Added by John Angel almost 18 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2007-02-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

HTML source of the page content contains the following code:

This is example for the code.
First row.
Second row.
&lt;SOME TAG&gt;

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>&lt;SOME TAG&gt;
</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)

Actions

Also available in: Atom PDF