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 #1

Updated by Alexander Opitz over 11 years ago

  • Status changed from Accepted to Needs Feedback
  • Target version deleted (0)
  • TYPO3 Version set to 4.1

The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?

Actions #2

Updated by Riccardo De Contardi over 11 years ago

It is still present in 4.5.20 and 6.1.0,
but...can this be considered a bug, or is it merely a customization of the behavior of RTE?

Actions #3

Updated by Alexander Opitz about 11 years ago

  • Assignee deleted (Martin Kutschker)
  • Is Regression set to No

No feedback from author for over 90 days, using TS to configure this behavior is the way to go.

Actions #4

Updated by Alexander Opitz about 11 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF