Fix "errror"s in docs/_ext

(cherry picked from commit 125c03f39c74fee4bf60610c74ff9b61e65a0541)
This commit is contained in:
Sebastian Weber 2024-01-17 21:51:02 +01:00 committed by Mergify
parent 244e576b3d
commit b73c97e995

View File

@ -530,7 +530,7 @@ def strip_cmd(cmd, debug=False):
if c == "]":
appearance = appearance - 1
# only if all [..] will be delete if appearance > 0 there is a syntax errror
# only if all [..] will be delete if appearance > 0 there is a syntax error
if appearance == 0:
cmd = cmd_new
@ -545,7 +545,7 @@ def strip_cmd(cmd, debug=False):
if c == ">":
appearance = appearance - 1
# only if all <..> will be delete if appearance > 0 there is a syntax errror
# only if all <..> will be delete if appearance > 0 there is a syntax error
if appearance == 0:
cmd = cmd_new