mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Update WriteHelpers.h
This commit is contained in:
parent
15eb2addd1
commit
f7d1441858
@ -604,17 +604,20 @@ inline void writeXMLStringForTextElementOrAttributeValue(const char * begin, con
|
|||||||
buf.write(pos, next_pos - pos);
|
buf.write(pos, next_pos - pos);
|
||||||
++next_pos;
|
++next_pos;
|
||||||
writeCString("&", buf);
|
writeCString("&", buf);
|
||||||
}else if (*next_pos == '>')
|
}
|
||||||
|
else if (*next_pos == '>')
|
||||||
{
|
{
|
||||||
buf.write(pos, next_pos - pos);
|
buf.write(pos, next_pos - pos);
|
||||||
++next_pos;
|
++next_pos;
|
||||||
writeCString(">", buf);
|
writeCString(">", buf);
|
||||||
}else if (*next_pos == '"')
|
}
|
||||||
|
else if (*next_pos == '"')
|
||||||
{
|
{
|
||||||
buf.write(pos, next_pos - pos);
|
buf.write(pos, next_pos - pos);
|
||||||
++next_pos;
|
++next_pos;
|
||||||
writeCString(""", buf);
|
writeCString(""", buf);
|
||||||
}else if (*next_pos == '\'')
|
}
|
||||||
|
else if (*next_pos == '\'')
|
||||||
{
|
{
|
||||||
buf.write(pos, next_pos - pos);
|
buf.write(pos, next_pos - pos);
|
||||||
++next_pos;
|
++next_pos;
|
||||||
|
Loading…
Reference in New Issue
Block a user