Read separated required arg without enquoting

This commit is contained in:
Juergen Spitzmueller 2023-11-09 22:06:39 +01:00
parent 97d596cda2
commit 3698281943
2 changed files with 2 additions and 2 deletions

View File

@ -1264,7 +1264,7 @@ void Layout::readArgument(Lexer & lex, bool validating)
lex.next();
arg.tooltip = lex.getDocString();
} else if (tok == "requires") {
lex.next();
lex.eatLine();
arg.required = lex.getString();
} else if (tok == "decoration") {
lex.next();

View File

@ -891,7 +891,7 @@ void InsetLayout::readArgument(Lexer & lex)
lex.next();
arg.tooltip = lex.getDocString();
} else if (tok == "requires") {
lex.next();
lex.eatLine();
arg.required = lex.getString();
} else if (tok == "decoration") {
lex.next();