Skip to content

Commit f14b6a9

Browse files
committed
Nit
1 parent 97744de commit f14b6a9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: lib/markdown2.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,11 @@
141141
DEFAULT_TAB_WIDTH = 4
142142

143143

144-
# _hash_text is used to temporarily replace characters and HTML which
144+
# _hash_text is used to temporarily escape (replace) characters and HTML which
145145
# should be ignored by the processor.
146146
#
147147
# Afterwards, we find stuff that looks like 'key32-???' and convert it back
148148
# to the escaped things.
149-
HEX_DIGITS = "0123456789abcdef"
150149
def _hash_text(s: str) -> str:
151150
h = hash(s) # Not cryptographically sure, but that's fine
152151
h = h*2 + int(h>0) # As a positive number

0 commit comments

Comments
 (0)