]> git.lyx.org Git - lyx.git/commitdiff
I suppose a line could begin: status openly. So we'll try harder.
authorRichard Heck <rgheck@comcast.net>
Thu, 10 Jul 2008 22:18:14 +0000 (22:18 +0000)
committerRichard Heck <rgheck@comcast.net>
Thu, 10 Jul 2008 22:18:14 +0000 (22:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25547 a592a061-630c-0410-9148-cb99ea01b6c8

lib/lyx2lyx/lyx_1_6.py

index 01133a8239f81ad746ae850857ec256bd52748e9..21c3c26d264cdf9193093c7560899f88ed5813be 100644 (file)
@@ -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