From 5dd36404f2234395aa709f3723607a485e464dbb Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Mon, 26 Feb 2024 15:09:10 +0100 Subject: [PATCH] DocBook: simplify building an error message. --- src/insets/InsetIndex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp index c7e88f0cd2..54058b8ea7 100644 --- a/src/insets/InsetIndex.cpp +++ b/src/insets/InsetIndex.cpp @@ -450,7 +450,7 @@ void InsetIndex::docbook(XMLStream & xs, OutputParams const & runparams) const // TODO: Could handle formatting as significance="preferred"? if (!command.empty()) { docstring error = from_utf8("Unsupported feature: an index entry contains a | with an unsupported command, ") - + command + from_utf8(". ") + from_utf8("Complete entry: \"") + latexString + from_utf8("\""); + + command + from_utf8(". Complete entry: \"") + latexString + from_utf8("\""); LYXERR0(error); xs << XMLStream::ESCAPE_NONE << (from_utf8("\n")); }