def oneline(value):
    try:
        return mark_safe(newlines.sub('', inbetween.sub('><', value)))
    except:
        return value
Takes some HTML and gets rid of newlines and spaces between tags, rendering
dataset/ETHPy150Open caseywstark/colab/colab/apps/threadedcomments/templatetags/threadedcommentstags.py/oneline