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-26 03:00:33 +08:00 committed by Morten Frederiksen
parent 62d3e68f79
commit 635174e3d2

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