commit 37be3b8626ff7abdde89430de2db25370b35e993
Author: Juergen Spitzmueller <[email protected]>
Date: Fri Aug 1 17:16:11 2025 +0200
tex2lyx: account for spaces and comments at tabular column spcification
argument (#13204)
---
src/tex2lyx/table.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/tex2lyx/table.cpp b/src/tex2lyx/table.cpp
index c1d2a79ac3..59ed9c7b3f 100644
--- a/src/tex2lyx/table.cpp
+++ b/src/tex2lyx/table.cpp
@@ -364,6 +364,7 @@ void handle_colalign(Parser & p, vector<ColInfo> & colinfo,
"Expected '{', got '" + p.curr_token().asInput()+ "'");
ColInfo next = start;
+ p.skip_spaces(true);
for (Token t = p.get_token(); p.good() && t.cat() != catEnd;
t = p.get_token()) {
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs