diff --git a/src/python/html_filter.py b/src/python/html_filter.py index 52f6f165..72b24796 100644 --- a/src/python/html_filter.py +++ b/src/python/html_filter.py @@ -23,7 +23,7 @@ class HtmlFilter: inline_quote_regex = re.compile(r"(^\s*>.*)") quote_regex = re.compile( - r"(^|

|
|)(\s*>.*?)(

|
||$)", + r"(^|

|
|)(\s*>.*?)(|
||$)", )