diff options
-rwxr-xr-x | src/fead.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fead.py b/src/fead.py index a900fce..81b959c 100755 --- a/src/fead.py +++ b/src/fead.py @@ -116,7 +116,7 @@ def unparse_atom_text(xml): assert len(xml) == 1 and xml[0].tag.endswith(f'{XHTML_NS}div') for elem in xml[0].iter(): elem.tag = elem.tag[len(XHTML_NS):] - return unparse_xml(xml[0]).decode() + return HTML_TAG.sub('', unparse_xml(xml[0]).decode()) return xml.text |