Skip to content

Commit f468810

Browse files
committed
🐛 Remove unnecessary escape of the / character
1 parent 3ac2a7e commit f468810

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

markdown_it/common/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ def fromCodePoint(c: int) -> str:
8585
return chr(c)
8686

8787

88-
# UNESCAPE_MD_RE = re.compile(r'\\([!"#$%&\'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])')
88+
# UNESCAPE_MD_RE = re.compile(r'\\([!"#$%&\'()*+,\-./:;<=>?@[\\\]^_`{|}~])')
8989
# ENTITY_RE_g = re.compile(r'&([a-z#][a-z0-9]{1,31})', re.IGNORECASE)
9090
UNESCAPE_ALL_RE = re.compile(
91-
r'\\([!"#$%&\'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])' + "|" + r"&([a-z#][a-z0-9]{1,31});",
91+
r'\\([!"#$%&\'()*+,\-./:;<=>?@[\\\]^_`{|}~])' + "|" + r"&([a-z#][a-z0-9]{1,31});",
9292
re.IGNORECASE,
9393
)
9494
DIGITAL_ENTITY_BASE10_RE = re.compile(r"#([0-9]{1,8})")

0 commit comments

Comments
 (0)