]> git.lyx.org Git - features.git/commitdiff
DocBook: simplify building an error message.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 26 Feb 2024 14:09:10 +0000 (15:09 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Mon, 26 Feb 2024 14:09:10 +0000 (15:09 +0100)
src/insets/InsetIndex.cpp

index c7e88f0cd26017a6ec2e785a5959092fbd06a879..54058b8ea72b407984964f1d565c48681b12168e 100644 (file)
@@ -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"));
        }