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

Thomas "Thasmo" Deinhamer thasmo at gmail.com
Mon Feb 7 12:45:55 CET 2011


Ernesto Baschny [cron IT] wrote:
> In the backend, since we are "html5" now, maybe a totally new solution
> is the "best practice", but I cannot find any information on that. Do
> you have some links?

Found various sources:

http://stackoverflow.com/questions/2944764/wrapping-javascript-in
http://stackoverflow.com/questions/3302648/should-i-use-cdata-in-html5
http://www.quora.com/In-HTML5-are-you-supposed-to-wrap-inline-script-blocks-in-a-CDATA-section

I think the wrapping of CSS with <!-- --> is really ancient, and no
used browser nowadays would need it anymore.

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

Regards,
Thomas


More information about the TYPO3-team-core mailing list