HTML syntax highlighting fails on tag property values in single quotes with blank space

Bug #580877 reported by Holger Koch
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GtkSourceView
Invalid
Medium
gtksourceview2 (Ubuntu)
Triaged
Low
Unassigned

Bug Description

If you have an HTML tag with an attribute that has a value in single quotes, and the string of this value contains a blank space the syntax highlighting fails. Maybe this is an issue also with other language types.

To reproduce simply type this in gedit and save it as a HTML-file:

<meta name='author' content='Hans Müller' />

This example demonstrates also another issue with non-ASCII characters (ü).
(see screenshot)

I'm using Ubuntu 10.04, but I know this behaviour for a long time.
gtksourceview2 is version 2.10.1

Revision history for this message
Holger Koch (atarax) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at:
 https://bugzilla.gnome.org/show_bug.cgi?id=626750

Changed in gtksourceview2 (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Changed in gtksourceview:
status: Unknown → New
Changed in gtksourceview:
importance: Unknown → Medium
Changed in gtksourceview:
status: New → Confirmed
Changed in gtksourceview:
status: Confirmed → Invalid
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.