Re-fix quote parsing
This commit is contained in:
parent
9f8bdfc6fb
commit
fd543f3204
|
@ -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*>.*?)(<p/?>|<br/?>|<h\d/?>|$)",
|
r"(^|<p/?>|<br/?>|<h\d/?>)(\s*>.*?)(</?p>|<br/?>|</?h\d>|$)",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user