summaryrefslogtreecommitdiff
path: root/tests/test_header_only_1.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-12 20:01:44 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2016-01-12 20:01:44 -0800
commitbcddf36559c4293d34fd275a4d392982fae94998 (patch)
treefe483fd31d6bddec9ce68f1baa62332752d22744 /tests/test_header_only_1.cpp
parentdf2a0ad28b24681fdc39275b5260132b0a3e6918 (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