Commit f5d87049 authored by Eckhart Arnold's avatar Eckhart Arnold
Browse files

Korrekturen

parent da3d063d
......@@ -581,6 +581,7 @@ def fix_XML_attribute_value(value: Any) -> str:
XML-entities."""
value = str(value)
value = value.replace('<', '&lt;')
# value = value.replace('>', '&gt;')
i = value.find('&')
while i >= 0:
if not RX_ENTITY.match(value, i):
......
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