Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
05ff75ee
Commit
05ff75ee
authored
Jan 11, 2018
by
ElenaSubbotina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug #36652
parent
597414ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
DesktopEditor/xml/src/xmldom.cpp
DesktopEditor/xml/src/xmldom.cpp
+8
-0
No files found.
DesktopEditor/xml/src/xmldom.cpp
View file @
05ff75ee
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment