]> git.lyx.org Git - lyx.git/commitdiff
take care of superfluous space in 1.3 tabular format
authorEdwin Leuven <e.leuven@gmail.com>
Wed, 19 Mar 2008 08:41:44 +0000 (08:41 +0000)
committerEdwin Leuven <e.leuven@gmail.com>
Wed, 19 Mar 2008 08:41:44 +0000 (08:41 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23821 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

index 669d35a4400255a5107f707f9025e44b945a94a7..a30b59f9e8b7db80f4e268359eb80732c3add3e2 100644 (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.")