[BUGFIX] Respect line breaks in stdWrap.cropHTML 19/18219/2
authorAlexander Stehlik <alexander.stehlik@googlemail.com>
Tue, 12 Feb 2013 11:35:00 +0000 (12:35 +0100)
committerBenjamin Mack <benni@typo3.org>
Mon, 1 Apr 2013 20:15:23 +0000 (22:15 +0200)
commit207ddf38d92ff66744104dc149c5eb4c7a709d42
treef040566b67f210bc56e2714548a8c3fb1ce693d3
parentad19f580fb8a4e2b1af6f3c03ebf46a6d78e465d
[BUGFIX] Respect line breaks in stdWrap.cropHTML

By using the PCRE_DOTALL (/s) pattern modifier in the cropHTML
regular expression for preserving HTML entities the dot in the
pattern will include line breaks.

Resolves: #28741
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Change-Id: Ifda9e397406dd481b634ded22fd13cac90192118
Reviewed-on: https://review.typo3.org/18219
Reviewed-by: Dmitry Dulepov
Tested-by: Dmitry Dulepov
Reviewed-by: Stefan Neufeind
Reviewed-by: Susanne Moog
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php
typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php