diff --git a/convert/scripts/convert.py b/convert/scripts/convert.py index 8561a63..ee31b0a 100644 --- a/convert/scripts/convert.py +++ b/convert/scripts/convert.py @@ -233,7 +233,7 @@ def to_prettyxml(doc): p_pre_code_open = re.compile(r"
[\s\r\n]*[\s\r\n]*", re.MULTILINE)
p_pre_code_close = re.compile(r"[\s\r\n]*[\s\r\n]*", re.MULTILINE)
p_syntax_highlighting = re.compile(r"^```(.+)$", re.MULTILINE)
-p_hidden_links = re.compile(r'', re.MULTILINE)
+p_hidden_links = re.compile(r'(|)', re.MULTILINE)
def _fix_code_blocks(html: str) -> str:
html = re.sub(p_pre_code_open, "", html)