Fix problem found by Alex Schröder:

http://lists.planetplanet.org/archives/devel/2010-October/002164.html
This commit is contained in:
Sam Ruby 2010-10-25 15:00:33 -04:00
parent 6b7fbafb13
commit 040d9d5f5a

View File

@ -8,7 +8,7 @@ def quote(string, apos):
if string.find("'")<0:
return "'" + string + "'"
elif string.find("'")<0:
elif string.find('"')<0:
return '"' + string + '"'
else:
# unclear how to quote strings with both types of quotes for libxslt