From: Jürgen Spitzmüller Date: Fri, 14 Nov 2008 10:05:07 +0000 (+0000) Subject: * InsetMathHull (eolString): X-Git-Tag: 1.6.10~2640 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c8ecd8d24a50142feacf7d52361040f25d8ff093;p=features.git * InsetMathHull (eolString): - Properly escape non-ASCII characters in equation labels (bug 5512). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27412 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index cb1d457656..ff7ee540db 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -1021,7 +1021,9 @@ docstring InsetMathHull::eolString(row_type row, bool emptyline, bool fragile) c docstring res; if (numberedType()) { if (label_[row] && !nonum_[row]) - res += "\\label{" + label_[row]->getParam("name") + '}'; + res += "\\label{" + + escape(label_[row]->getParam("name")) + + '}'; if (nonum_[row] && (type_ != hullMultline)) res += "\\nonumber "; } diff --git a/status.16x b/status.16x index 0c839f638c..1177213477 100644 --- a/status.16x +++ b/status.16x @@ -63,6 +63,8 @@ What's new - Fix possible endless loop while running lyx2lyx. +- Properly escape non-ASCII characters in equation labels (bug 5512). + * USER INTERFACE