[LyX/master] Fix escape string (reported by José)
Juergen Spitzmueller
spitz at lyx.org
Sat Sep 30 09:48:38 UTC 2023
commit 9b8183b877f2acd767879d934bc64817f1b506ed
Author: Juergen Spitzmueller <spitz at lyx.org>
Date: Sat Sep 30 13:07:00 2023 +0200
Fix escape string (reported by José)
---
lib/lyx2lyx/lyx_2_4.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py
index ca81759..41c1aa4 100644
--- a/lib/lyx2lyx/lyx_2_4.py
+++ b/lib/lyx2lyx/lyx_2_4.py
@@ -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
More information about the lyx-cvs
mailing list