commit 9b8183b877f2acd767879d934bc64817f1b506ed
Author: Juergen Spitzmueller <[email protected]>
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
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs