Re-fix quote parsing

This commit is contained in:
miruka 2019-09-07 02:22:42 -04:00
parent 9f8bdfc6fb
commit fd543f3204

View File

@ -23,7 +23,7 @@ class HtmlFilter:
inline_quote_regex = re.compile(r"(^\s*>.*)") inline_quote_regex = re.compile(r"(^\s*>.*)")
quote_regex = re.compile( quote_regex = re.compile(
r"(^|<p/?>|<br/?>|<h\d/?>)(\s*&gt;.*?)(<p/?>|<br/?>|<h\d/?>|$)", r"(^|<p/?>|<br/?>|<h\d/?>)(\s*&gt;.*?)(</?p>|<br/?>|</?h\d>|$)",
) )