From 57041a9b8475f5c793f872d004d1d716d57e9f6f Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Wed, 19 Mar 2008 08:41:44 +0000 Subject: [PATCH] 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 --- lib/lyx2lyx/lyx_1_6.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index 669d35a440..a30b59f9e8 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -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.") -- 2.39.2