diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-01-12 20:01:44 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2016-01-12 20:01:44 -0800 |
commit | bcddf36559c4293d34fd275a4d392982fae94998 (patch) | |
tree | fe483fd31d6bddec9ce68f1baa62332752d22744 /tests/test_header_only_1.cpp | |
parent | df2a0ad28b24681fdc39275b5260132b0a3e6918 (diff) |
Only save first PCDATA contents in the element
This change fixes an important ordering issue - if element node has a PCDATA
child *after* other elements, it's impossible to tell which order the children
were in.
Since the goal of PCDATA embedding is to save memory when it's the only child,
only apply the optimization to the first child. This seems to fix all
roundtripping issues so the only caveat is that the DOM structure is different.
Diffstat (limited to 'tests/test_header_only_1.cpp')
0 files changed, 0 insertions, 0 deletions