diff options
author | Stef Walter <stef@memberwebs.com> | 2005-07-16 21:59:15 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2005-07-16 21:59:15 +0000 |
commit | a9df5660f96000fbec056dff028d740174b9f306 (patch) | |
tree | e1c92e7809671a0f65155c8bfd026eb3e7e06801 /src/xmlfixups.cpp | |
parent | 83fb37958a3ab420b79d6e236ec4424b2b538614 (diff) |
Fix dumb mistake made in [243].
Diffstat (limited to 'src/xmlfixups.cpp')
-rw-r--r-- | src/xmlfixups.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmlfixups.cpp b/src/xmlfixups.cpp index 3989a0c..2bb52f8 100644 --- a/src/xmlfixups.cpp +++ b/src/xmlfixups.cpp @@ -631,7 +631,8 @@ void XmlFixups::runPassTwo(const DOM::Document& doc) // all elements in the duplicates list don't need that. while(prev.hasChildNodes()) - el.appendChild(prev.removeChild(prev.getFirstChild())); + el.insertBefore(prev.removeChild(prev.getLastChild()), + el.getFirstChild()); // Remove duplicate node parent.removeChild(prev); |