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 626750 - HTML syntax highlighting fails on tag property values in single quotes with blank space
HTML syntax highlighting fails on tag property values in single quotes with b...
Status: RESOLVED NOTABUG
Product: gtksourceview
Classification: Platform
Component: Syntax files
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-12 16:23 UTC by Pedro Villavicencio
Modified: 2013-09-24 17:02 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30



Description Pedro Villavicencio 2010-08-12 16:23: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
Comment 1 Carnë Draug 2011-05-12 12:26:52 UTC
Hi! I can confirm that this bug still exists on the trunk version.
Comment 2 Sébastien Wilmet 2013-09-24 17:02:02 UTC
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.