From: SourceForge.net <no...@so...> - 2004-03-24 09:05:34
|
Bugs item #922302, was opened at 2004-03-24 10:05 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=922302&group_id=13153 Category: DOM Support Group: None Status: Open Resolution: None Priority: 5 Submitted By: Cyrille Morvan (cyrille_morvan) Assigned to: Nobody/Anonymous (nobody) Summary: Add comment <!-- --> to script tag to produce valid XML Initial Comment: Look this code : <script> document.write("<img src=\gnagna.jpg\">); </script> An XML parser (as Xerces) will say it's not valid XML because 'src' in 'img' tag must be followed by " and not \ !!! To correct this, JTidy must add comment tag inside the script tag, to produce valid XHTML : <script> <!-- document.write("<img src=\gnagna.jpg\">); --> </script> Thank you. - Cyrille Morvan ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=922302&group_id=13153 |