import textwrap
import html


def pretty_text(data):
    """Unsescape the html characters from the data & wrap it"""
    if data is not None:
        return textwrap.fill(html.unescape(html.unescape(data)), width=60)
    else:
        return ""