From 26e107779744c321cd1897eaeb2765ceb58ba11e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Matox?= Date: Fri, 6 Jun 2003 14:00:46 +0000 Subject: [PATCH] fix bad convertion of 2.15 tables (bug 1045) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7123 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/ChangeLog | 4 ++++ lib/lyx2lyx/lyxconvert_216.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 436ee3ff1f..e189c8f6cc 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,7 @@ +2003-06-06 José Matos + + * lyx2lyx/lyxconvert_216 (update_tabular): fix bug 1045. + 2003-06-06 Lars Gullik Bjønnes * languages: Add country code to the lang code. diff --git a/lib/lyx2lyx/lyxconvert_216.py b/lib/lyx2lyx/lyxconvert_216.py index f95c6e86f0..82832b00b4 100644 --- a/lib/lyx2lyx/lyxconvert_216.py +++ b/lib/lyx2lyx/lyxconvert_216.py @@ -111,7 +111,7 @@ def update_tabular(lines): del lines[i] end = end -1 - if lines[i] == '\\newline ': + if string.find(lines[i],'\\newline') != -1: del lines[i] l = l + 1 -- 2.39.2