GNOME Bugzilla – Bug 626750
HTML syntax highlighting fails on tag property values in single quotes with blank space
Last modified: 2013-09-24 17:02:02 UTC
this report has been filed here: https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/580877 "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)" screenshot: https://bugs.launchpad.net/ubuntu/+source/gtksourceview2/+bug/580877/+attachment/1391809/+files/gedit.png
Hi! I can confirm that this bug still exists on the trunk version.
The value should be surrounded by double quotes, not single quotes. If you give a link to the HTML reference where it is explained that single quotes is also valid, feel free to reopen this bug.