From 20a63d2b5523d692bbf9fa17171465be8ede7cd6 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 9 Mar 2018 14:18:03 +0100 Subject: [PATCH] tex2lyx: handle whitespace in table column declaration. Fixes: #10804 (cherry picked from commit 247e1a223d917f81b5a2cc5ef3621c3e7fa9de92) --- src/tex2lyx/table.cpp | 3 +++ status.23x | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index 3cce03df43..e8b6a4ad7b 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -322,6 +322,9 @@ void handle_colalign(Parser & p, vector & colinfo, } switch (t.character()) { + case ' ': + // whitespace, ignore. + break; case 'c': case 'l': case 'r': diff --git a/status.23x b/status.23x index c659e78e21..0feea93ab7 100644 --- a/status.23x +++ b/status.23x @@ -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