{% import 'components/avatar.html' as avatar with context %}
{%- if msg.type != C.MESS_TYPE_INFO %} {%- set author = identities[msg.from_].nick | default(msg.from_) -%} {{ avatar.avatar(msg.from_) }} {{msg.timestamp|date_fmt('auto_day')}} {% endif -%} {{- msg.html or (msg.text|urlize(nofollow=true, target="_blank")) -}}