]> git.lyx.org Git - features.git/commitdiff
Backport fix for bug #8278.
authorRichard Heck <rgheck@lyx.org>
Sat, 4 Aug 2012 21:32:55 +0000 (17:32 -0400)
committerRichard Heck <rgheck@lyx.org>
Thu, 20 Sep 2012 01:21:33 +0000 (21:21 -0400)
Cherry picked from
2375982f7e7fa291ae5ce3adfa9271cba0d31809
166deba79b9699cae10c605f8c08af4b159a744b

src/Paragraph.cpp

index 7bb585905a884194b58b9f2f8dfa8c212cf0d438..0d6dd2301571ab0e06115394e5cffb81cfb30d42 100644 (file)
@@ -2792,7 +2792,7 @@ docstring Paragraph::simpleLyXHTMLOnePar(Buffer const & buf,
                                retval += inset->xhtml(xs, np);
                        }
                } else {
-                       char_type c = d->text_[i];
+                       char_type c = getUChar(buf.params(), i);
 
                        if (style.pass_thru)
                                xs << c;