{{ r.owner_name }}
· {{ r.chat_id }}
{% if r.chat_name %}· {{ r.chat_name }}{% endif %}
{% if r.scene_label %}· scene {{ r.scene_label }}{% endif %}
- {{ r.pov_summary }}
+ {# T111.1: ``r.snippet`` is the FTS5 ``snippet()`` excerpt with
+ each match wrapped in ``...``. ``|safe`` is
+ required so the marker tags survive Jinja's auto-escape; the
+ snippet is built by SQLite from indexed text, so the only
+ HTML in the string is the ```` we configured (any
+ special chars from the source content are passed through as
+ literal text, NOT as HTML). This is the only ``|safe`` filter
+ on the page — chat_id, owner_name, etc. remain auto-escaped. #}
+ {{ r.snippet|safe }}