Skip to content

Commit f1258e3

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent bb1e01c commit f1258e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mdit_py_plugins/texmath/index.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ def _func(state: StateBlock, begLine: int, endLine: int, silent: bool) -> bool:
152152
def dollar_pre(src: str, beg: int) -> bool:
153153
prv = charCodeAt(src[beg - 1], 0) if beg > 0 else False
154154
return (
155-
(not prv) or prv != 0x5C and (prv < 0x30 or prv > 0x39) # no backslash,
155+
(not prv) or (prv != 0x5C and (prv < 0x30 or prv > 0x39)) # no backslash,
156156
) # no decimal digit .. before opening '$'
157157

158158

0 commit comments

Comments
 (0)