From: Juergen Spitzmueller Date: Sat, 6 Jan 2018 09:43:44 +0000 (+0100) Subject: Start inset at new line X-Git-Tag: 2.3.0rc2~87 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=de748ead81442117cb7f69881071553da0e0e81b;p=features.git Start inset at new line (cherry picked from commit 7da8473c4f7283e55528aad56df0761ef4e50d67) --- diff --git a/lib/lyx2lyx/lyx_2_3.py b/lib/lyx2lyx/lyx_2_3.py index 140f57fb36..f2689fbf45 100644 --- a/lib/lyx2lyx/lyx_2_3.py +++ b/lib/lyx2lyx/lyx_2_3.py @@ -2134,7 +2134,7 @@ def revert_allowbreak(document): " \SpecialChar allowbreak -> Zero widths Space-inset. " body = "\n".join(document.body) body = body.replace("\\SpecialChar allowbreak\n", - "\\begin_inset space \hspace{}\n" + "\n\\begin_inset space \hspace{}\n" "\\length 0dd\n" "\\end_inset\n\n") document.body = body.split("\n")