Signed-off-by: nkh0472 <67589323+nkh0472@users.noreply.github.com>
This commit is contained in:
nkh0472 2025-04-26 17:02:56 +08:00 committed by GitHub
parent 94d66a0765
commit 55ba5790d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -409,7 +409,7 @@ class MarkdownDocumentBackend(DeclarativeDocumentBackend):
) )
return _txt return _txt
# restore original HTML by removing previouly added markers # restore original HTML by removing previously added markers
for regex in [ for regex in [
rf"<pre>\s*<code>\s*{_START_MARKER}", rf"<pre>\s*<code>\s*{_START_MARKER}",
rf"{_STOP_MARKER}\s*</code>\s*</pre>", rf"{_STOP_MARKER}\s*</code>\s*</pre>",