diff --git a/src/Layout.cpp b/src/Layout.cpp index 60ff5cd043..748d867a36 100644 --- a/src/Layout.cpp +++ b/src/Layout.cpp @@ -564,8 +564,8 @@ bool Layout::readIgnoreForcelocal(Lexer & lex, TextClass const & tclass) case LT_REQUIRES: { lex.eatLine(); - vector const req = - getVectorFromString(lex.getString()); + vector const req = + getVectorFromString(lex.getString(true)); requires_.insert(req.begin(), req.end()); break; } diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 468f7286bd..c6b94d438b 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -441,7 +441,7 @@ bool InsetLayout::read(Lexer & lex, TextClass const & tclass) case IL_REQUIRES: { lex.eatLine(); vector const req - = getVectorFromString(lex.getString()); + = getVectorFromString(lex.getString(true)); requires_.insert(req.begin(), req.end()); break; }