diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2024-05-27 12:56:27 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2024-05-27 12:56:27 +0100 |
commit | ce111182bd2b3b40bd2bfd230db623dd490db7c6 (patch) | |
tree | 04a67593bf1fb74d6a0b9c42db5140b766adf176 /test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml.int-broken | |
parent | 9d3644b4d00c32fb454fd123b5e457a4a01d30c6 (diff) | |
download | libdom-ce111182bd2b3b40bd2bfd230db623dd490db7c6.tar.gz libdom-ce111182bd2b3b40bd2bfd230db623dd490db7c6.tar.bz2 |
node: Fix dom_node_normalize (via _dom_merge_adjacent_text)
Normalizing is meant to turn a sequence of text nodes into one
text node representing the sequence; unfortunately due to the
way that _dom_merge_adjacent_text had been written this actually
resulted in an exponential repetition of the text content.
This is fixed by using the underlying characterdata objects instead.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'test/testcases/tests/level1/core/hc_nodeclonenodefalse.xml.int-broken')
0 files changed, 0 insertions, 0 deletions