From: Peter Ciuffetti <pete@cr...> - 2009-12-22 16:47:38
We use JSPX pages and the JSPX compiler has a similar behavior. Adding
XML comments is how we solve it. If the page view source has <script
src="something.js"><!-- script --></script>, the JSPX compiler will
reduce this to <script src="something.js"></script>.
If we forget the comment, it will reduce to he unusable <script
This is similar to other suggestions made but introduces no new text
nodes in the final result
Get latest updates about Open Source Projects, Conferences and News.