Skip to content

Commit 6cdcbef

Browse files
committed
Updated comment with source
1 parent 16251fa commit 6cdcbef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

blog/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
}
2424
BLOG_DOCUTILS_SETTINGS.update(getattr(settings, "BLOG_DOCUTILS_SETTINGS", {}))
2525

26-
# List copied from markdown.Markdown.ESCAPED_CHARS
26+
# List copied from:
27+
# https://github.com/Python-Markdown/markdown/blob/3.8/markdown/core.py#L112
2728
_MD_ESCAPE_CHARS = "\\`*_{}[]>()#+-.!"
2829
_MD_ESCAPE_REGEX = re.compile(f"[{re.escape(_MD_ESCAPE_CHARS)}]")
2930

0 commit comments

Comments
 (0)