This commit is contained in:
Miroslav Stampar
2019-03-18 00:46:56 +01:00
parent e7ffc8f9b1
commit 3b3774abaa
3 changed files with 4 additions and 4 deletions

View File

@@ -559,7 +559,7 @@ class Tag(PageElement):
self.escapeUnrecognizedEntities = parser.escapeUnrecognizedEntities
# Convert any HTML, XML, or numeric entities in the attribute values.
convert = lambda k, val: (k,
convert = lambda (k, val): (k,
re.sub("&(#\d+|#x[0-9a-fA-F]+|\w+);",
self._convertEntities,
val))