Commit 0aa8652e596a20e95ed334ac65cf15e6e9ec4b3b

Nick Wellnhofer 2022-05-20T14:54:49

Use xmlNewDocText in xmlXIncludeCopyRange Otherwise, the initial node of the copy could be a text node with a NULL document. This results in the NULL document being propagated to copies of other nodes, losing information about the dictionary in which node data is stored, and freeing a dict-allocated string. See discussion in !175.