Inline CSS is not highlighted in HTML mode
Bug #808398 reported by
sprt
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GtkSourceView |
Fix Released
|
Medium
|
|||
gtksourceview3 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
See the example file.
Changed in gedit (Ubuntu): | |
status: | New → Confirmed |
Changed in gtksourceview: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.
There are a number of other issues with different languages embedded in each other. Any occurence of '/>' terminates a script tag, so the following code is highlighted incorrectly
<script> write(' abc<br />def');
document.
var a = 1;
</script>
Also, double slashes are considered a comment even when it is part of a regular expression, such as:
<script> .replace( /\//g," -");
"a/b/c"
</script>