capybara/virtualenv/lib/python2.7/site-packages/lxml/html/diff.py
def _fixup_ins_del_tags(doc):
    """fixup_ins_del_tags that works on an lxml document in-place
    """
    for tag in ['ins', 'del']:
        for el in doc.xpath('descendant-or-self::%s' % tag):
            if not _contains_block_level_tag(el):
                continue
            _move_el_inside_block(el, tag=tag)
            el.drop_tag()
def _fixup_ins_del_tags(doc):
    for tag in ['ins', 'del']:
        for el in doc.xpath('descendant-or-self::%s' % tag):
            if not _contains_block_level_tag(el):
                continue
            _move_el_inside_block(el, tag=tag)
            el.drop_tag()
def _fixup_ins_del_tags ( doc ) : for tag in [ 'ins' , 'del' ] : for el in doc . xpath ( 'descendant-or-self::%s' % tag ) : if not _contains_block_level_tag ( el ) : continue _move_el_inside_block ( el , tag = tag ) el . drop_tag ( )
fixup_ins_del_tags that works on an lxml document in-place
fixup_ins_del_tags that works on an lxml document in - place