From: SourceForge.net <no...@so...> - 2004-04-02 21:32:55
|
Bugs item #922302, was opened at 2004-03-24 10:05 Message generated for change (Comment added) made by fgiust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=922302&group_id=13153 >Category: Tidy functionality Group: None Status: Open Resolution: None >Priority: 7 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 ---------------------------------------------------------------------- >Comment By: fabrizio giustina (fgiust) Date: 2004-04-02 23:32 Message: Logged In: YES user_id=798060 added testcase ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=113153&aid=922302&group_id=13153 |