[Typo3-dev] RFC: Bug #277: utf-8 + JSMENU/feAdminLib

Bernhard Kraft kraftb at kraftb.at
Sat Oct 22 17:50:21 CEST 2005


Martin Kutschker wrote:
> Everything (be it element content or attribute) outside of a CDATA 
> section needs to be run through htmlspecialchars(), everything inside 
> must not. TYPO3 uses CDATA for SCRIPT and STYLE so no 
> htmlspechialchars() there.

AFAIK: Browsers don't care about our " <![CDATA[ " tag in the <script>
tag. This is alredy defined by the DTD as CDATA ... using them or leaving them
away, makes no difference.



greets,
Bernhard




More information about the TYPO3-dev mailing list