Skip to content

Commit 50acab6

Browse files
committed
add delete character to ASCII control chars as per CommonMark v0.30
1 parent c22a0b8 commit 50acab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mdformat/codepoints/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from mdformat.codepoints._unicode_punctuation import UNICODE_PUNCTUATION
1111
from mdformat.codepoints._unicode_whitespace import UNICODE_WHITESPACE
1212

13-
ASCII_CTRL = frozenset(chr(i) for i in range(32))
13+
ASCII_CTRL = frozenset(chr(i) for i in range(32)) | frozenset(chr(127))
1414

1515

1616
def __getattr__(name: str) -> frozenset[str]:

0 commit comments

Comments
 (0)