{# One console event, as one list item. Macros only, so this template can be rendered from Python for a single SSE frame (via ``get_template(...).module.event_row``) as well as included in a loop by the console. Both paths therefore produce byte-identical markup: what the stream appends is exactly what a page reload would have rendered. Every value here goes through Jinja's autoescaping. ``event.text`` is pipeline output -- untrusted bytes read out of the run's log file -- and this is the only place it is turned into markup. Do not add ``| safe`` to it. #} {% macro event_row(event) -%}
{{ event.text }}{% else %}{{ event.text }}{% endif %}{% endif %}