commit 5a9184f437b384e8ea0d9a6db21f726a0c7d6f8a Author: Georg Baum <b...@lyx.org> Date: Tue Aug 12 23:33:13 2025 +0200
fix: Ignore all comments in btSect Otherwise an invalid .lyx file would be produced. --- src/tex2lyx/text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index b456b59c5b..803de9e33e 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -2291,7 +2291,7 @@ void parse_environment(Parser & p, ostream & os, bool outer, p.skip_spaces(true); } string const bibfile = p.getArg('{', '}'); - eat_whitespace(p, os, parent_context, false); + p.skip_spaces(true); Token t = p.get_token(); if (t.asInput() == "\\btPrintCited") { p.skip_spaces(true); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs