GNOME Bugzilla – Bug 608027
Bug on Javascript highlighting when a tag close string is typed
Last modified: 2011-05-13 17:42:59 UTC
If I type the following on gedit: $("<div/>"); All that comes after /> loses the highlighting. It just don't do it if I enter a whitespace, so it will be "<div />", but I can't cause this won't work on jQuery. Hope it helps. Thank you.
Forgot to say, this only happends on PHP highlighting. For example: somepage.php ... Previous HTML/CSS/PHP content ... <script type="text/javascript"> // From "/" everything (inside script tag) gets highlighted as plain text. $("<div/>").appendTo("body"); </script>
Happens also on HTML highlighting...
Created attachment 157090 [details] [review] Fix finidng javascript in HTML
Created attachment 157244 [details] [review] Updated, highlighting hide error
Hmm, it's not working yet... Try this inside a *.{php,html} file Testing <script src="www.google.com.br/foobar.js"></script> var x = 100; </script> Thanks for your answer.
Hi! this seems to be a duplicate of bug #565524 . Maybe should be marked as such?
Marking as such then. Thanks *** This bug has been marked as a duplicate of bug 565524 ***