commit 20a63d2b5523d692bbf9fa17171465be8ede7cd6 Author: Juergen Spitzmueller <sp...@lyx.org> Date: Fri Mar 9 14:18:03 2018 +0100
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(+), 0 deletions(-) diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp index 3cce03d..e8b6a4a 100644 --- a/src/tex2lyx/table.cpp +++ b/src/tex2lyx/table.cpp @@ -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': diff --git a/status.23x b/status.23x index c659e78..0feea93 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