* 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
This commit is contained in:
Jürgen Spitzmüller 2008-11-14 10:05:07 +00:00
parent f991b08ebd
commit c8ecd8d24a
2 changed files with 5 additions and 1 deletions

View File

@ -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 ";
}

View File

@ -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