def single_line(text):
    return re.sub(' +',
                  ' ',
                  normalize_newlines(text).replace('\n', '')).strip()
Renders the portlet as html.
dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/horizon/test/tests/templatetags.py/single_line--crossover with--dataset/ETHPy150Open diefenbach/django-lfs/lfs/portlet/models/pages.py/PagesPortlet.render