mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
escape backslashes when importing the cells
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@24863 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
368da2323a
commit
e0d9d95ebc
@ -180,7 +180,7 @@ for j in range(num_rows):
|
||||
# write contents of one line
|
||||
############################
|
||||
for i in range(len(rows[j])):
|
||||
row.append( cell % rows[j][i])
|
||||
row.append( cell % rows[j][i].replace('\\','\\backslash\n'))
|
||||
|
||||
# If row has less columns than num_cols fill with blank entries
|
||||
for i in range(len(rows[j]), num_cols):
|
||||
|
Loading…
x
Reference in New Issue
Block a user