Renders the grafs provided in HTML by wrapping them in <p> tags.

    Linebreaks are replaced with <br> tags.

def get_html(grafs):
    """
    Renders the grafs provided in HTML by wrapping them in <p> tags.

    Linebreaks are replaced with <br> tags.
    """
    html = [format_html('<p>{}</p>', p) for p in grafs]
    html = [p.replace("\n", "<br>") for p in html]
    return format_html(six.text_type('\n\n'.join(html)))