[BUGFIX] Treat <pre> tags correctly in RTE 13/50113/2
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:40:49 +0000 (22:40 +0200)
commit0877cfa1bfa8a5c5fca89d48654d933ce7ad8c6f
treef9d0c6c8513d69f1470517b948981c75ef511309
parent8ebaf7b78927a6e244de1d3920af6e7061bdb688
[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/50113
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Martin Fox <kontakt@mlis.pl>
Tested-by: Martin Fox <kontakt@mlis.pl>
Reviewed-by: Philipp Gampe <philipp.gampe@typo3.org>
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/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