commit | ef4b3bb4dc2c1c5b0b29209f6d3ea2126be3be0d | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 10 13:20:43 2009 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 10 13:23:38 2009 -0800 |
tree | be23af6fcba234631ac083d6be11930a7c28b90c | |
parent | 0d4177f038e7fc758c8c9231bef00decc8d1cd20 [diff] |
Fix DOM parsing of character references/entities. Our DOM parser didn't support { or š character references, and didn't merge adjacent text nodes into one (so "a&b" would be three text nodes rather than one; SAX allows the former, but DOM guarantees the latter). This patch fixes both bugs, and adds tests. Bug: 2607 (and duplicates)