Fix escape string (reported by José)

This commit is contained in:
Juergen Spitzmueller 2023-09-30 13:07:00 +02:00
parent fc9684a130
commit 9b8183b877

View File

@ -4711,7 +4711,7 @@ def revert_hyper_other(document):
if target[:4] == "run:":
del document.body[k]
else:
cmd = "\href{" + target + "}{" + name + "}"
cmd = r"\href{" + target + "}{" + name + "}"
ecmd = put_cmd_in_ert(cmd)
document.body[i:j+1] = ecmd
i += 1