[TYPO3-core] FYI48 #10955: Output of additionalCSS not valid

Steffen Gebert steffen at steffen-gebert.de
Mon Feb 7 13:22:42 CET 2011


> But I'm not sure about the CDATA in general or especially for JS.

CDATA is not related to JS, CSS or whatever. It just signals the 
XML/XHTML parser that the contents inside CDATA are "character data" and 
thus must not be interpreted and can contain whatever you want.
As neither JS, nor CSS is (X)HTML code, surrounding it with CDATA tag is 
appropriate.

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member

Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list