diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp index d467c895b2..de4b9cb8c3 100644 --- a/src/tex2lyx/text.cpp +++ b/src/tex2lyx/text.cpp @@ -1002,7 +1002,7 @@ void parse_outer_box(Parser & p, ostream & os, unsigned flags, bool outer, // Eat '{' if (p.next_token().cat() == catBegin) p.get_token(); - eat_whitespace(p, os, parent_context, false); + p.skip_spaces(true); } } if (outer_type == "shaded") {