r5401 - trunk/wooly/python/wooly
tmckay at fedoraproject.org
tmckay at fedoraproject.org
Mon Jun 4 16:48:11 UTC 2012
Author: tmckay
Date: 2012-06-04 16:48:11 +0000 (Mon, 04 Jun 2012)
New Revision: 5401
Modified:
trunk/wooly/python/wooly/util.py
Log:
Add single quote to the list of characters that are escaped
BZ807970
Modified: trunk/wooly/python/wooly/util.py
===================================================================
--- trunk/wooly/python/wooly/util.py 2012-06-04 16:08:16 UTC (rev 5400)
+++ trunk/wooly/python/wooly/util.py 2012-06-04 16:48:11 UTC (rev 5401)
@@ -19,7 +19,8 @@
from parsley.collectionsex import *
-quote_entities = {'"': """}
+quote_entities = {'"': """,
+ "'": "'"}
def xml_escape(string, entities=None):
if type(string) in (str, unicode):
More information about the cumin-developers
mailing list