Skip to content

Commit

Permalink
add delete character to ASCII control chars as per CommonMark v0.30
Browse files Browse the repository at this point in the history
  • Loading branch information
hukkin committed Nov 19, 2024
1 parent c22a0b8 commit 8d98566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mdformat/codepoints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from mdformat.codepoints._unicode_punctuation import UNICODE_PUNCTUATION
from mdformat.codepoints._unicode_whitespace import UNICODE_WHITESPACE

ASCII_CTRL = frozenset(chr(i) for i in range(32))
ASCII_CTRL = frozenset(chr(i) for i in range(32)) | frozenset(chr(127))


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

0 comments on commit 8d98566

Please sign in to comment.