]> git.lyx.org Git - features.git/commitdiff
Fix bug #6953.
authorRichard Heck <rgheck@comcast.net>
Sun, 17 Oct 2010 18:46:35 +0000 (18:46 +0000)
committerRichard Heck <rgheck@comcast.net>
Sun, 17 Oct 2010 18:46:35 +0000 (18:46 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35673 a592a061-630c-0410-9148-cb99ea01b6c8

src/output_xhtml.cpp

index c4792ae739d38092cdd11c19be4e22b6bfdc7e9c..f6ab5a5a02ff72942d4aef3be0d78393e3825bf5 100644 (file)
@@ -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;
 }