[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean 92/34192/3
authorNicole Cordes <typo3@cordes.co>
Sat, 15 Nov 2014 00:24:24 +0000 (01:24 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 4 Dec 2014 13:59:03 +0000 (14:59 +0100)
commitaa95a4f76727ba07de01f5ce9a469bf8e95fb4c0
tree31f66beef918d70a3ec027c3d918e46fcadaa87a
parented766a834910f86e236671b904d788e3779e9fb1
[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean

Due to commit https://review.typo3.org/#/c/30240/ the comments from
javascript is removed and now the javascript is parsed with
config.xhtml_cleaning = all. This patch prevents any CDATA content from
being parsed.

Resolves: #62967
Releases: master, 6.2, 4.5
Change-Id: Ib024c5c8f2b056e47d9222b9767b7a5e6923af8c
Reviewed-on: http://review.typo3.org/34192
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/core/Classes/Html/HtmlParser.php
typo3/sysext/core/Tests/Unit/Html/HtmlParserTest.php