From: Juergen Spitzmueller Date: Fri, 9 Dec 2022 08:12:23 +0000 (+0100) Subject: Fix cut and paste error X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c90e656d9d28e61c5970601150a03d2cc54aebe8;p=features.git Fix cut and paste error --- diff --git a/lib/lyx2lyx/lyx_2_4.py b/lib/lyx2lyx/lyx_2_4.py index 024480f175..e75cdbf2c4 100644 --- a/lib/lyx2lyx/lyx_2_4.py +++ b/lib/lyx2lyx/lyx_2_4.py @@ -3061,7 +3061,7 @@ def convert_Semibolds(document): else: # We need to use this regex since split() does not handle quote protection ttopts = re.findall(r'[^"\s]\S*|".+?"', document.header[x]) - document.header[x] = "\\font_typewriter_opts \"semibold, " + sfopts[1].strip('"') + "\"" + document.header[x] = "\\font_typewriter_opts \"semibold, " + ttopts[1].strip('"') + "\"" def convert_NotoRegulars(document):