Only trim right end of lines in header. This allows us to preserve

whitespace in local layout.

(cherry picked from commit a11e07a62f)
This commit is contained in:
Richard Heck 2016-06-24 14:57:28 -04:00
parent 909fcb7fcc
commit 9d3917a4b6
2 changed files with 3 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class LyX_base:
if check_token(line, '\\end_preamble'): if check_token(line, '\\end_preamble'):
continue continue
line = line.strip() line = line.rstrip()
if not line: if not line:
continue continue

View File

@ -59,6 +59,8 @@ What's new
- Fix display of label font for argument insets. - Fix display of label font for argument insets.
- Keep leading whitespace when converting local layout.
* USER INTERFACE * USER INTERFACE