Project

General

Profile

Actions

Bug #14723

closed

Newlines are not converted to spaces

Added by Johannes Bornhold over 19 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2005-05-09
Due date:
% Done:

0%

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

Description

When inserting content like

<p>test
test</p>

The result will be

<p>testtest</p>

but it should be

<p>test test</p>

The same problem appears to tags like 'h1, h2, ..., td'.

This is a major problem when pasting content from Word.

My quick solution to this problem is included in the attached file, marked by my name. It is mostly based upon replacing the newline with a space.
(issue imported from #M1064)


Files

class.ux_t3lib_parsehtml_proc.php (14.4 KB) class.ux_t3lib_parsehtml_proc.php Administrator Admin, 2005-05-09 14:40
Actions #1

Updated by Johannes Bornhold over 19 years ago

The p tags are not shown in the description, sorry for that..

Actions #2

Updated by Stanislas Rolland over 19 years ago

Thanks for the solution. It has been integrated into version 0.5.0.

Actions

Also available in: Atom PDF