[BUGFIX] Treat <pre> tags correctly in RTE 12/50112/3
authorMarkus Klein <markus.klein@typo3.org>
Fri, 7 Oct 2016 16:52:12 +0000 (18:52 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 7 Oct 2016 20:41:44 +0000 (22:41 +0200)
commit9a75f0d3a3c69228b7c3cd37f759207b9f598d8e
treec600182c5c39785aca6849da0b8434c7579ca81c
parenta9b29fe5ae58548cae05e658d322eed05540a8cd
[BUGFIX] Treat <pre> tags correctly in RTE

Do not throw away line breaks and multiple spaces of pre tag's content in RTE.
This finally allows to paste source code and keep its formatting.

Resolves: #78186
Releases: master, 7.6
Change-Id: I183032d53bf64c8f1e3acb8222288860f97fed33
Reviewed-on: https://review.typo3.org/50112
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Tested-by: Łukasz Uznański <l.uznanski@macopedia.pl>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Html/RteHtmlParser.php
typo3/sysext/css_styled_content/static/setup.txt
typo3/sysext/css_styled_content/static/v6.2/setup.txt
typo3/sysext/fluid_styled_content/Configuration/TypoScript/Static/Setup/lib.parseFunc.ts
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php
typo3/sysext/rtehtmlarea/Resources/Public/JavaScript/HTMLArea/Editor/Editor.js