From: Juergen Spitzmueller Date: Fri, 9 Mar 2018 13:18:03 +0000 (+0100) Subject: tex2lyx: handle whitespace in table column declaration. X-Git-Tag: 2.3.1~163 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c52baa7d811a30003374c423dc62bdaed574900f;p=features.git tex2lyx: handle whitespace in table column declaration. Fixes: #10804 (cherry picked from commit 247e1a223d917f81b5a2cc5ef3621c3e7fa9de92) --- 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