'Returns formatted html of dataset info'

def display_info(self, dataset):

    try:
        info = escape(dataset.info)
        if (info.find('\r\n') >= 0):
            info = info.replace('\r\n', '<br/>')
        if (info.find('\r') >= 0):
            info = info.replace('\r', '<br/>')
        if (info.find('\n') >= 0):
            info = info.replace('\n', '<br/>')
        info = unicodify(info, 'utf-8')
        return info
    except:
        return 'info    unavailable'
