commit a11e07a62fb78cae8d33d132550454a5db96e26e
Author: Richard Heck <[email protected]>
Date:   Fri Jun 24 14:57:28 2016 -0400

    Only trim right end of lines in header. This allows us to preserve
    whitespace in local layout.
---
 lib/lyx2lyx/LyX.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/lyx2lyx/LyX.py b/lib/lyx2lyx/LyX.py
index 18088a4..39a77e3 100644
--- a/lib/lyx2lyx/LyX.py
+++ b/lib/lyx2lyx/LyX.py
@@ -345,7 +345,7 @@ class LyX_base:
             if check_token(decoded, '\\end_preamble'):
                 continue
 
-            line = line.strip()
+            line = line.rstrip()
             if not line:
                 continue
 

Reply via email to