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:
José Matox 2008-05-20 11:23:53 +00:00
parent 368da2323a
commit e0d9d95ebc

View File

@ -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):