[BUGFIX] Exclude CDATA from t3lib_parsehtml->XHTML_clean 07/34207/2
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:27:19 +0000 (14:27 +0100)
commite2873344f27a7445579a229b9837a81c63abe17b
treef9aee03ddcd44a205478bcf218d7ac7b26a8ef38
parentc3e9df614d4875a96b8ec6cf18c57f47309c3a5c
[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/34207
Reviewed-by: Nicole Cordes <typo3@cordes.co>
Tested-by: Nicole Cordes <typo3@cordes.co>
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