From: Juergen Spitzmueller Date: Sun, 3 Dec 2023 10:18:42 +0000 (+0100) Subject: Amend 369828194361164 once more X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=ac5cc017179cdff6113b5605f325ae29299ff479;p=features.git Amend 369828194361164 once more We need to trim off tabs and spaces --- diff --git a/src/insets/InsetLayout.cpp b/src/insets/InsetLayout.cpp index 9d19d0c2d7..8e5ed651cf 100644 --- a/src/insets/InsetLayout.cpp +++ b/src/insets/InsetLayout.cpp @@ -892,7 +892,7 @@ void InsetLayout::readArgument(Lexer & lex) arg.tooltip = lex.getDocString(); } else if (tok == "requires") { lex.eatLine(); - arg.required = lex.getString(); + arg.required = trim(lex.getString(true)); } else if (tok == "decoration") { lex.next(); arg.decoration = lex.getString();