From: Richard Heck Date: Sun, 17 Oct 2010 18:46:35 +0000 (+0000) Subject: Fix bug #6953. X-Git-Tag: 2.0.0~2370 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=680b6e78e4d124a8426c5a519010f3b9e2591592;p=features.git Fix bug #6953. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35673 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/output_xhtml.cpp b/src/output_xhtml.cpp index c4792ae739..f6ab5a5a02 100644 --- a/src/output_xhtml.cpp +++ b/src/output_xhtml.cpp @@ -292,8 +292,10 @@ XHTMLStream & XHTMLStream::operator<<(char c) if (nextraw_) { os_ << c; nextraw_ = false; - } else - os_ << html::escapeChar(c); + } else { + string const d = html::escapeChar(c); + os_ << from_ascii(d); + } return *this; }