]> git.lyx.org Git - features.git/commitdiff
Start inset at new line
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 6 Jan 2018 09:43:44 +0000 (10:43 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 6 Jan 2018 09:43:44 +0000 (10:43 +0100)
lib/lyx2lyx/lyx_2_3.py

index 140f57fb36bd14e1f663dd531d9d5d0a9aa1811f..f2689fbf45581cb7ef96d6af5abf004ccd0c20a1 100644 (file)
@@ -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")