From ac5cc017179cdff6113b5605f325ae29299ff479 Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Sun, 3 Dec 2023 11:18:42 +0100 Subject: [PATCH] Amend 369828194361164 once more We need to trim off tabs and spaces --- src/insets/InsetLayout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5