GNOME Bugzilla – Bug 733744
Incorrect syntax highlighting when string '/>' appears in a script or style tag
Last modified: 2014-08-08 21:54:58 UTC
Any occurence of '/>' terminates a script (or style) tag, so the following code is highlighted incorrectly. <script> document.write('abc<br />def'); var a = 1; </script> <script> // document.write('abc<br />def'); var a = 1; </script> <style> /* here's a <br /> style */ br { line-height: 2px; } </style> <style> .tag::before { content:"< "; } .tag::after { content:" />"; } </style>
*** This bug has been marked as a duplicate of bug 614072 ***