mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Fix weird case where the first body line has only a space
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5914 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c1afe8596e
commit
0efa3f71a0
@ -1,3 +1,7 @@
|
|||||||
|
2003-01-07 José Abílio Oliveira Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
|
* lyx2lyx/lyx2lyx.py: trims whitespace from header if not in preamble.
|
||||||
|
|
||||||
2003-01-07 José Abílio Oliveira Matos <jamatos@lyx.org>
|
2003-01-07 José Abílio Oliveira Matos <jamatos@lyx.org>
|
||||||
|
|
||||||
* lyx2lyx/lyxconvert_217.py: accept tag attributes without quotes.
|
* lyx2lyx/lyxconvert_217.py: accept tag attributes without quotes.
|
||||||
|
@ -127,6 +127,9 @@ def read_file(file, header, body):
|
|||||||
if check_token(line, '\\end_preamble'):
|
if check_token(line, '\\end_preamble'):
|
||||||
preamble = 0
|
preamble = 0
|
||||||
|
|
||||||
|
if not preamble:
|
||||||
|
line = string.strip(line)
|
||||||
|
|
||||||
if not line and not preamble:
|
if not line and not preamble:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user