commit | 3f66130bfb1dd52a03f04a27de0defc19491b2c0 | [log] [tgz] |
---|---|---|
author | Amandeep Singh Sethi <amsethi@ciena.com> | Sat Nov 09 09:08:11 2019 -0500 |
committer | Amandeep Singh Sethi <amsethi@ciena.com> | Mon Nov 11 04:47:32 2019 -0500 |
tree | 9c4b2bfead6e8e9578ec19817ac795c33f6379f3 | |
parent | f05fc1e3844225c2ab245170edc67f6113a7d91b [diff] |
Fix for multiple anyxml siblings not duplicated
diff --git a/src/xml.c b/src/xml.c index c5f601f..72ea976 100644 --- a/src/xml.c +++ b/src/xml.c
@@ -214,6 +214,10 @@ if (parent) { lyxml_add_child(ctx, parent, dup); + } else if (result) { + dup->prev = result->prev; + dup->prev->next = dup; + result->prev = dup; } /* keep old namespace for now */