{# demo.html — search-as-you-type demo with HTMX wiring. #}
{% extends "base.html" %}
{% block content %}
{# `field` is the SafeHTML return value of `fastblocks_ui.field()` (a server-rendered helper from the fastblocks-ui library, NOT raw user input). `|safe` is the documented convention for rendering SafeHTML in this codebase (see fastblocks/starters/default/routes/demo.py:14 and routes/home.py:4) -- removing it would double-escape the helper output. KEEP `|safe`. #}
{# nosemgrep: template-unescaped-with-safe -- fastblocks_ui helpers return SafeHTML; not user-controlled input #}
{{ field|safe }}