From 62d93fc6022d25525613a2ee18f50ff00a307296 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Fri, 16 Mar 2007 01:01:39 +0000 Subject: also quote fonnames starting from a non-letter (bzr r2664) --- src/style.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/style.cpp b/src/style.cpp index 29f56608c..722f1677d 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -4074,6 +4074,9 @@ css2_escape_quote(gchar const *val) { t.push_back(*i); quote = true; } + if (i == val && !g_ascii_isalpha(*i)) { + quote = true; + } } if (quote) { // we use the ' quotes so the result can go to the XML attribute -- cgit v1.2.3