{% import 'components/avatar.html' as avatar with context %}
{%- if msg.type != C.MESS_TYPE_INFO %} {%- set author = identities[msg.from_].nicknames[0] | default(msg.from_) -%}
{{ avatar.avatar(msg.from_, "is-32x32") }}
{% endif -%}
{%- if msg.type != C.MESS_TYPE_INFO %} {% endif -%}

{{- msg.html or (msg.text|urlize(nofollow=true, target="_blank")) -}}