'Extracts the Abstract from API Docs'

def parse_content(self, api):

    abstract = ''
    for tag in api.next_siblings:
        if (not isinstance(tag, element.Tag)):
            continue
        if ((tag.name == 'hr') or (tag.name == 'blockquote')):
            break
        elif (tag.name == 'div'):
            continue
        else:
            abstract += str(tag)
    abstract = self.remove_anchor(abstract)
    abstract += '\n'
    abstract = abstract.replace('\n\n', '\n')
    return abstract.replace('\n', '\\n')
