'Clean HTML of sequence titles, stripping out span tags and returning the first line.'

def _clean_seq_titles(self, element):

    return self.REMOVE_SPAN_TAG_RE.search(element.get_attribute('innerHTML')).groups()[0].strip()
