take care of superfluous space in 1.3 tabular format

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23821 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2008-03-19 08:41:44 +00:00
parent 3611675db1
commit 57041a9b84

View File

@ -76,7 +76,9 @@ def convert_tablines(document):
while True:
i = find_token(document.body, "\\begin_inset Tabular", i)
if i == -1:
return
i = find_token(document.body, "\\begin_inset Tabular", i)
if i == -1:
return
j = find_end_of_inset(document.body, i + 1)
if j == -1:
document.warning("Malformed LyX document: Could not find end of tabular.")