summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bfc3bad)
raw | patch | inline | side by side (parent: bfc3bad)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 16 Mar 2007 01:01:39 +0000 (01:01 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Fri, 16 Mar 2007 01:01:39 +0000 (01:01 +0000) |
src/style.cpp | patch | blob | history |
diff --git a/src/style.cpp b/src/style.cpp
index 29f56608c55dc7ef2c0fca48ab4a297faf8fb66c..722f1677d6cdbff319a81aafe9b076970dfe0aea 100644 (file)
--- a/src/style.cpp
+++ b/src/style.cpp
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