mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
* lyx2lyx/lyx_1_5.py:
- fix bug 6018. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30644 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2d632d0c65
commit
4e31cd60b3
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user