capybara/virtualenv/lib/python2.7/site-packages/lxml/html/diff.py
def fixup_ins_del_tags(html):
    """ Given an html string, move any <ins> or <del> tags inside of any
    block-level elements, e.g. transform <ins><p>word</p></ins> to
    <p><ins>word</ins></p> """
    doc = parse_html(html, cleanup=False)
    _fixup_ins_del_tags(doc)
    html = serialize_html_fragment(doc, skip_outer=True)
    return html
def fixup_ins_del_tags(html):
    """ Given an html string, move any <ins> or <del> tags inside of any
    block-level elements, e.g. transform <ins><p>word</p></ins> to
    <p><ins>word</ins></p> """
    doc = parse_html(html, cleanup=False)
    _fixup_ins_del_tags(doc)
    html = serialize_html_fragment(doc, skip_outer=True)
    return html
def fixup_ins_del_tags ( html ) : doc = parse_html ( html , cleanup = False ) _fixup_ins_del_tags ( doc ) html = serialize_html_fragment ( doc , skip_outer = True ) return html
Given an html string, move any <ins> or <del> tags inside of any
    block-level elements, e.g. transform <ins><p>word</p></ins> to
    <p><ins>word</ins></p>
Given an html string move any <ins > or <del > tags inside of any block - level elements e . g . transform <ins > <p > word< / p > < / ins > to <p > <ins > word< / ins > < / p >