Code

Gradient tool: fork gradients when adding a stop
[inkscape.git] / src / style.cpp
index 29f56608c55dc7ef2c0fca48ab4a297faf8fb66c..722f1677d6cdbff319a81aafe9b076970dfe0aea 100644 (file)
@@ -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