mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Fix escape string (reported by José)
This commit is contained in:
parent
fc9684a130
commit
9b8183b877
@ -4711,7 +4711,7 @@ def revert_hyper_other(document):
|
|||||||
if target[:4] == "run:":
|
if target[:4] == "run:":
|
||||||
del document.body[k]
|
del document.body[k]
|
||||||
else:
|
else:
|
||||||
cmd = "\href{" + target + "}{" + name + "}"
|
cmd = r"\href{" + target + "}{" + name + "}"
|
||||||
ecmd = put_cmd_in_ert(cmd)
|
ecmd = put_cmd_in_ert(cmd)
|
||||||
document.body[i:j+1] = ecmd
|
document.body[i:j+1] = ecmd
|
||||||
i += 1
|
i += 1
|
||||||
|
Loading…
Reference in New Issue
Block a user