mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Add XHTMLStream::operator<<(char). Failure to have it was causing things
like: xs << ' '; to send an int. 32, Pavel. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35397 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b743c226ca
commit
64241a6d6d
@ -286,6 +286,18 @@ XHTMLStream & XHTMLStream::operator<<(char_type c)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
XHTMLStream & XHTMLStream::operator<<(char c)
|
||||||
|
{
|
||||||
|
clearTagDeque();
|
||||||
|
if (nextraw_) {
|
||||||
|
os_ << c;
|
||||||
|
nextraw_ = false;
|
||||||
|
} else
|
||||||
|
os_ << html::escapeChar(c);
|
||||||
|
return *this;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
XHTMLStream & XHTMLStream::operator<<(int i)
|
XHTMLStream & XHTMLStream::operator<<(int i)
|
||||||
{
|
{
|
||||||
clearTagDeque();
|
clearTagDeque();
|
||||||
|
@ -110,6 +110,8 @@ public:
|
|||||||
///
|
///
|
||||||
XHTMLStream & operator<<(int);
|
XHTMLStream & operator<<(int);
|
||||||
///
|
///
|
||||||
|
XHTMLStream & operator<<(char);
|
||||||
|
///
|
||||||
XHTMLStream & operator<<(html::StartTag const &);
|
XHTMLStream & operator<<(html::StartTag const &);
|
||||||
///
|
///
|
||||||
XHTMLStream & operator<<(html::EndTag const &);
|
XHTMLStream & operator<<(html::EndTag const &);
|
||||||
|
Loading…
Reference in New Issue
Block a user