

@register.simple_tag
def render_tweet_text(tweet):
    text = escape(tweet.text)
    text = smilize(text)
    text = user_ref_re.sub(make_user_link, text)
    text = tag_ref_re.sub(make_tag_link, text)
    return mark_safe(text)

dataset/ETHPy150Open amarandon/smeuhsocial/apps/microblogging/templatetags/microblogging_tags.py render_tweet_text/original