X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flyx2lyx%2Flyx_1_5.py;h=ea8a1436ea6ad7af8e02aa16c8727aef18e517dd;hb=a1589fb0910c6895d438c759eaa0d5b5ba6f913c;hp=62c314a14a63c446a5a3f1dd56377b1341f88a79;hpb=391ba1e592193017c32f03559199c21c4adc0bcb;p=lyx.git diff --git a/lib/lyx2lyx/lyx_1_5.py b/lib/lyx2lyx/lyx_1_5.py index 62c314a14a..ea8a1436ea 100644 --- a/lib/lyx2lyx/lyx_1_5.py +++ b/lib/lyx2lyx/lyx_1_5.py @@ -1597,7 +1597,7 @@ def revert_graphics_rotation(document): def convert_tableborder(document): - # The problematic is: LyX double the table cell border as it ignores the "|" character in + # The problem is: LyX doubles the table cell border as it ignores the "|" character in # the cell arguments. A fix takes care of this and therefore the "|" has to be removed i = 0 while i < len(document.body): @@ -1606,7 +1606,7 @@ def convert_tableborder(document): # the two tokens have to be in one line if (h != -1 and k != -1): # delete the "|" - document.body[i] = document.body[i][:k] + document.body[i][k+1:len(document.body[i])-1] + document.body[i] = document.body[i][:k] + document.body[i][k+1:len(document.body[i])] i = i + 1