]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetNomencl.cpp
Pure HTML output for math macros.
[lyx.git] / src / insets / InsetNomencl.cpp
index 25df98842ce363a6ba0759aabc2fdf0c0861bc96..57f38647d0d845ded7a2b7f25b962dc70abd7054 100644 (file)
@@ -26,7 +26,6 @@
 #include "LaTeXFeatures.h"
 #include "Length.h"
 #include "LyX.h"
-#include "MetricsInfo.h"
 #include "OutputParams.h"
 #include "output_xhtml.h"
 #include "sgml.h"
@@ -271,7 +270,8 @@ docstring nomenclWidest(Buffer const & buffer, OutputParams const & runparams)
        // return the widest (or an empty) string
        if (symb.empty())
                return symb;
-       
+
+       // we have to encode the string properly
        docstring latex_symb;
        for (size_t n = 0; n < symb.size(); ++n) {
                try {