]> git.lyx.org Git - features.git/commitdiff
Only trim right end of lines in header. This allows us to preserve
authorRichard Heck <rgheck@lyx.org>
Fri, 24 Jun 2016 18:57:28 +0000 (14:57 -0400)
committerRichard Heck <rgheck@lyx.org>
Sat, 30 Jul 2016 03:52:47 +0000 (23:52 -0400)
whitespace in local layout.

(cherry picked from commit a11e07a62fb78cae8d33d132550454a5db96e26e)

lib/lyx2lyx/LyX.py
status.22x

index 1e2147d54997b31bfd86fd4d5495eabe19b5aa62..ad8d3c606cfcc9deff793ff9d8011f266eafb9f7 100644 (file)
@@ -308,7 +308,7 @@ class LyX_base:
             if check_token(line, '\\end_preamble'):
                 continue
 
-            line = line.strip()
+            line = line.rstrip()
             if not line:
                 continue
 
index 2660366e0eed95d07eae127c8d17282e111d08e6..7f781d383585b39e56b863a1184610f33eb2fe4e 100644 (file)
@@ -59,6 +59,8 @@ What's new
 
 - Fix display of label font for argument insets.
 
+- Keep leading whitespace when converting local layout.
+
 
 * USER INTERFACE