capybara/virtualenv/lib/python2.7/site-packages/lxml/html/diff.py
def cleanup_html(html):
    """ This 'cleans' the HTML, meaning that any page structure is removed
    (only the contents of <body> are used, if there is any <body).
    Also <ins> and <del> tags are removed.  """
    match = _body_re.search(html)
    if match:
        html = html[match.end():]
    match = _end_body_re.search(html)
    if match:
        html = html[:match.start()]
    html = _ins_del_re.sub('', html)
    return html
def cleanup_html(html):
    """ This 'cleans' the HTML, meaning that any page structure is removed
    (only the contents of <body> are used, if there is any <body).
    Also <ins> and <del> tags are removed.  """
    match = _body_re.search(html)
    if match:
        html = html[match.end():]
    match = _end_body_re.search(html)
    if match:
        html = html[:match.start()]
    html = _ins_del_re.sub('', html)
    return html
def cleanup_html ( html ) : match = _body_re . search ( html ) if match : html = html [ match . end ( ) : ] match = _end_body_re . search ( html ) if match : html = html [ : match . start ( ) ] html = _ins_del_re . sub ( '' , html ) return html
This 'cleans' the HTML, meaning that any page structure is removed
    (only the contents of <body> are used, if there is any <body).
    Also <ins> and <del> tags are removed.
This cleans the HTML meaning that any page structure is removed ( only the contents of <body > are used if there is any <body ) . Also <ins > and <del > tags are removed .