Fix problem found by Alex Schröder:
http://lists.planetplanet.org/archives/devel/2010-October/002164.html
This commit is contained in:
parent
62d3e68f79
commit
635174e3d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user