[!!!][TASK] Remove RTE proc option "disableUnifyLineBreaks" 61/51261/2
authorBenni Mack <benni@typo3.org>
Wed, 11 Jan 2017 10:04:40 +0000 (11:04 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Wed, 11 Jan 2017 11:24:59 +0000 (12:24 +0100)
commit9d465632185ab233bab41eb9974851a07d05c845
treed160cf2576aa4a46eda283664ccd5bffe653c281
parentc6c06e54d7b02b6a672b63673526118cee021426
[!!!][TASK] Remove RTE proc option "disableUnifyLineBreaks"

The RTE option "proc.disableUnifyLineBreaks" was never
set by default.

If NOT set (= default), then all line breaks within the
RteHtmlParser are converted as LF, and then migrated
to CRLFs after all transformations are done.

Activating the option did not do that, thus having problems
when content was entered on different OSes (Windows / Unix)
and leaving with mixed line break data in the database, the
option was historically added to stay compatible with old
versions where the unification was not available yet.

Resolves: #79270
Releases: master
Change-Id: If3b3f48ea7d9ba98882ee340d017296f7b650dda
Reviewed-on: https://review.typo3.org/51261
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/core/Documentation/Changelog/master/Breaking-79270-RemovedRTEProcessingOptionDisableUnifyLineBreaks.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Html/RteHtmlParserTest.php