ezsystems/ezpublish — pull request #150 by jdespatis (2011-10-26 09:06:06+00:00)
Title: Implemented #018395: homogenous way to wrap css/js code with CDATA for w3c validation

ezjscore (thanks to another feature request implemented by André) now wraps its content with CDATA, which is a good thing (as symbols like < and & would make the page to not validate (according to w3c xhtml) if not wrapped with CDATA)

eZPublish wraps js code (but not all the time) with the classic
(From my memories, it's even //)

However, nevermind, because the doesn't help for validate js code that contains symbols like < and &

This patch aim is to use an homogenous way for wrapping css and js code (that is the technic used by ezjscore), that is the technic advised for validating xhtml1.0 pages

This patch concerns ezpublish, a pull request can follow for ezwebin and ezflow