After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 670803 - incorrect text highlighting of HTML after "/>" in a JavaScript script
incorrect text highlighting of HTML after "/>" in a JavaScript script
Status: RESOLVED DUPLICATE of bug 614072
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
: 696851 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2012-02-25 19:35 UTC by Mohammad Etemaddar
Modified: 2013-11-15 17:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed change to html.lang (683 bytes, patch)
2012-03-22 12:01 UTC, nmz
none Details | Review
proposed change to html.lang (690 bytes, patch)
2012-03-22 12:43 UTC, nmz
none Details | Review

Description Mohammad Etemaddar 2012-02-25 19:35:38 UTC
when you enter an string in JavaScript witch contains "/>" at the end, Gedit changes the color of text after the double quotation to gray. for example:

<html>
<head>
<script type="text/javascript">
function startTime()
{
var a = "<br />"
var today = new Date()
var d1 = new Date("October 13, 1975 11:13:00")
var d2 = new Date(79,5,24)
var d3 = new Date(79,5,24,11,33,0)
var myDate=new Date();
myDate.setFullYear(2010,0,14);
document.getElementById("txt").innerHTML=d1+"<br />"+d2+"<br />"+d3+a+myDate
}

function checkTime(i)
{
if (i<10)
  {
  i="0" + i;
  }
return i;
}
</script>
</head>

<body onload="startTime()">
<p id="txt"></p>
</body>
</html>
Comment 1 nmz 2012-03-22 12:01:40 UTC
Created attachment 210326 [details] [review]
proposed change to html.lang

Modification to the script highlighting in html
Comment 2 nmz 2012-03-22 12:43:00 UTC
Created attachment 210328 [details] [review]
proposed change to html.lang
Comment 3 Sébastien Wilmet 2013-11-01 22:44:05 UTC
*** Bug 696851 has been marked as a duplicate of this bug. ***
Comment 4 Sébastien Wilmet 2013-11-15 17:35:23 UTC

*** This bug has been marked as a duplicate of bug 614072 ***