added comment

This commit is contained in:
Michele Comitini
2012-09-22 23:14:15 +02:00
parent f1fcb886a0
commit 39f5c04f94
+1
View File
@@ -32,6 +32,7 @@ regex_crlf = re.compile('\r|\n')
join = ''.join
# name2codepoint is incomplete respect to xhtml (and xml): 'apos' is missing.
entitydefs = dict(map(lambda (k,v): (k, unichr(v).encode('utf-8')), name2codepoint.iteritems()))
entitydefs.setdefault('apos', u"'")