diff --git a/src/python/html_filter.py b/src/python/html_filter.py index 13c59f22..0c511891 100644 --- a/src/python/html_filter.py +++ b/src/python/html_filter.py @@ -50,7 +50,7 @@ class HtmlFilter: result = b"".join((etree.tostring(el, encoding="utf-8") for el in tree[0].iterchildren())) - return str(result, "utf-8") + return str(result, "utf-8").strip("\n") @property