Project

General

Profile

Actions

Bug #40567

closed

CF Linebreaks in pre tags must be protected

Added by Sven Wappler about 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2012-09-03
Due date:
% Done:

0%

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

Description

Chrome uses CF linebreaks to insert a new line, Firefox <br /> tags. I think chrome's way is more correct because sourcecode can be inserted without changes. But in function TS_transform_db in class.t3lib_parsehtml_proc.php linebreaks are converted in spaces. So the function needs to be extended to protect CF linebreaks in <pre> tags.
So this should be possible:

line 1
line 2
Actions

Also available in: Atom PDF