def METHOD_NAME(self):
    if not self.content:
        return
    paragraph = ''
    for line in self.content:
        if line:
            paragraph += line
        else:
            self.add_paragraph(paragraph)
            paragraph = ''
    # emit last line
    self.add_paragraph(paragraph)