From a3cfc7aea31f0cf4cd920beaaeb5193073d04fee Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Thu, 10 Jul 2008 22:18:14 +0000 Subject: [PATCH] I suppose a line could begin: status openly. So we'll try harder. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25547 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/lyx2lyx/lyx_1_6.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/lyx2lyx/lyx_1_6.py b/lib/lyx2lyx/lyx_1_6.py index 01133a8239..21c3c26d26 100644 --- a/lib/lyx2lyx/lyx_1_6.py +++ b/lib/lyx2lyx/lyx_1_6.py @@ -329,8 +329,8 @@ def lyx2latex(lines): line.startswith("\\begin_inset") or \ line.startswith("\\end_inset") or \ line.startswith("\\lang") or \ - line.startswith("status collapsed") or \ - line.startswith("status open"): + line.strip() == "status collapsed" or \ + line.strip() == "status open": #skip all that stuff continue -- 2.39.2