]> git.lyx.org Git - features.git/commitdiff
tex2lyx: handle whitespace in table column declaration.
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 9 Mar 2018 13:18:03 +0000 (14:18 +0100)
committerRichard Heck <rgheck@lyx.org>
Sat, 17 Mar 2018 19:44:05 +0000 (15:44 -0400)
Fixes: #10804
(cherry picked from commit 247e1a223d917f81b5a2cc5ef3621c3e7fa9de92)

src/tex2lyx/table.cpp
status.23x

index 3cce03df4308561040fb9a1b93018fa64fbfb2ff..e8b6a4ad7b5808cf0aa08792af30202f3bdf8eb0 100644 (file)
@@ -322,6 +322,9 @@ void handle_colalign(Parser & p, vector<ColInfo> & colinfo,
                }
 
                switch (t.character()) {
+                       case ' ':
+                               // whitespace, ignore.
+                               break;
                        case 'c':
                        case 'l':
                        case 'r':
index c659e78e21866b33b25ae99c2a5e58fd9c96a9e2..0feea93ab753030d23337c15541e5ebe048b93d1 100644 (file)
@@ -86,6 +86,8 @@ What's new
 
 - Do not force default bibliography style if none is set (bug 10673).
 
+- Handle whitespace in table column declaration (bug 10804).
+
 
 * ADVANCED FIND AND REPLACE