[TYPO3-core] RFC: Bug 1477 and 3013 - xhtml_cleaning corrupts javascript
Martin Kutschker
Martin.Kutschker at n0spam-blackbox.net
Thu Sep 7 17:30:00 CEST 2006
Dmitry Dulepov schrieb:
> Hi!
>
> Martin Kutschker wrote:
>
>> Without knowing the code of the HTML cleaner. Why look for CDATA and
>> not for the script element. Inside <script> nothing should be checked,
>> wheter enclosed by a CDATA declaration (?) or not.
>
>
> Same for <style>. However if <script> and <style> use CDATA declaration
> (as they should!) patch should work.
Why should? After all its a cleaning function. So in fact xhtml_cleaning
should ADD it if it's missing instead of relying on its presence.
Masi
More information about the TYPO3-team-core
mailing list