Commit 05ff75ee authored by ElenaSubbotina's avatar ElenaSubbotina

fix bug #36652

parent 597414ea
...@@ -228,9 +228,17 @@ namespace XmlUtils ...@@ -228,9 +228,17 @@ namespace XmlUtils
nCurDepth = GetDepth(); nCurDepth = GetDepth();
if (eNodeType == XmlNodeType_Text || eNodeType == XmlNodeType_Whitespace || eNodeType == XmlNodeType_SIGNIFICANT_WHITESPACE) if (eNodeType == XmlNodeType_Text || eNodeType == XmlNodeType_Whitespace || eNodeType == XmlNodeType_SIGNIFICANT_WHITESPACE)
{
m_pCurrentNode->m_sText += GetText();
}
else if (eNodeType == XmlNodeType_CDATA)
{
m_pCurrentNode->m_sText += GetText(); m_pCurrentNode->m_sText += GetText();
}
else if (eNodeType == XmlNodeType_Element) else if (eNodeType == XmlNodeType_Element)
{
WriteElement(); WriteElement();
}
else if (eNodeType == XmlNodeType_EndElement) else if (eNodeType == XmlNodeType_EndElement)
{ {
m_list.pop_back(); m_list.pop_back();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment