[#30404] Updated PR - CDATA for scripts and styles in XHTML documents #906

This is reference on #906 with a clean fix of the problem without any additional changes.

JoomlaCode: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=30404