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")