[LyX/master] DocBook: simplify building an error message.
Thibaut Cuvelier
tcuvelier at lyx.org
Mon Feb 26 14:09:17 UTC 2024
commit 5dd36404f2234395aa709f3723607a485e464dbb
Author: Thibaut Cuvelier <tcuvelier at lyx.org>
Date: Mon Feb 26 15:09:10 2024 +0100
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("<!-- Output Error: ") + error + from_utf8(" -->\n"));
}
More information about the lyx-cvs
mailing list