• Show log

    Commit

  • Hash : f43197fc
    Author : Nick Wellnhofer
    Date : 2024-03-29T11:16:45

    tree: Don't coalesce text nodes in xmlAdd{Prev,Next}Sibling
    
    Commit 9e1c72da from 2001 introduced a bug where xmlAddPrevSibling and
    xmlAddNextSibling would only try to merge text nodes with one of its
    new siblings. Commit 4ccd3eb8 fixed this bug but unfortunately, lxml
    and possibly other downstream code depend on text nodes not being
    merged.
    
    To avoid breaking downstream code while still having somewhat
    consistent API behavior, it's probably best to make these functions
    never coalesce text nodes.