]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
Extend the notermination flag to math as well.
[lyx.git] / src / insets / InsetBibitem.cpp
index 3aaaceacbdd8d954fb53fcd1b692b4f3f75e8dd9..ac3c9149679b9073db7146afa1dfd2416e732c71 100644 (file)
@@ -294,7 +294,7 @@ docstring bibitemWidest(Buffer const & buffer, OutputParams const & runparams)
                docstring latex_lbl;
                for (size_t n = 0; n < lbl.size(); ++n) {
                        try {
-                               latex_lbl += runparams.encoding->latexChar(lbl[n]);
+                               latex_lbl += runparams.encoding->latexChar(lbl[n]).first;
                        } catch (EncodingException & /* e */) {
                                if (runparams.dryrun) {
                                        latex_lbl += "<" + _("LyX Warning: ")