From: Juergen Spitzmueller Date: Sat, 30 Sep 2023 11:07:00 +0000 (+0200) Subject: Fix escape string (reported by José) X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=9b8183b877f2acd767879d934bc64817f1b506ed;p=features.git Fix escape string (reported by José) --- diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index ca81759d5d..41c1aa465e 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