added comment
This commit is contained in:
@@ -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"'")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user