Commit 8597e4f7 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

lxml compatibilit of attributes can be ensured via configuration value

parent 015d832b
......@@ -2014,7 +2014,7 @@ class Node: # (collections.abc.Sized): Base class omitted for cython-compatibil
# txt.append(' err="%s"' % (
# ''.join(str(err).replace('"', "'").replace('&', '&amp;').replace('<', '&lt;')
# for err in root.node_errors(node))))
txt.append(' err=' + (attr_filter(''.join(str(err)) for err in root.node_errors(node))))
txt.append(' err=' + attr_filter(''.join(str(err) for err in root.node_errors(node))))
if node.tag_name in empty_tags:
assert not node.result, ("Node %s with content %s is not an empty element!" %
(node.tag_name, str(node)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment