]> git.lyx.org Git - features.git/commitdiff
Fix bug #8278, as suggested there by Ronen.
authorRichard Heck <rgheck@lyx.org>
Sat, 4 Aug 2012 21:32:55 +0000 (17:32 -0400)
committerRichard Heck <rgheck@lyx.org>
Sat, 4 Aug 2012 21:33:47 +0000 (17:33 -0400)
src/Paragraph.cpp

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