Inline CSS is not highlighted in HTML mode

Bug #808398 reported by sprt
12
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.

Tags: css html
Revision history for this message
sprt (sprt) wrote :
Changed in gedit (Ubuntu):
status: New → Confirmed
Revision history for this message
matt k (mattk210) wrote :

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>
document.write('abc<br />def');
var a = 1;
</script>

Also, double slashes are considered a comment even when it is part of a regular expression, such as:

<script>
"a/b/c".replace(/\//g,"-");
</script>

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue you are reporting is an upstream one and it would be nice if somebody having it could send the bug to the developers of the software by following the instructions at https://wiki.ubuntu.com/Bugs/Upstream/GNOME. If you have done so, please tell us the number of the upstream bug (or the link), so we can add a bugwatch that will inform us about its status. Thanks in advance.

affects: gedit (Ubuntu) → gtksourceview3 (Ubuntu)
Changed in gtksourceview3 (Ubuntu):
importance: Undecided → Low
Revision history for this message
sprt (sprt) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for sending the bug to GNOME

Changed in gtksourceview3 (Ubuntu):
status: Confirmed → Triaged
Changed in gtksourceview:
importance: Undecided → Unknown
status: New → Unknown
Changed in gtksourceview:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.