fix: échappement HTML dans le macro brow (| safe)
Deploy via Portainer / deploy (push) Successful in 0s

This commit is contained in:
Jo
2026-07-06 23:25:09 +02:00
parent 0c9e04b6e7
commit c8d209e02c
+1 -1
View File
@@ -73,7 +73,7 @@
{# Macro pour une ligne à 1 ou 2 colonnes #}
{% macro brow(label, val_piece, cls='', precision=2) %}
<div class="breakdown-row {{ cls }}">
<span class="flex-fill">{{ label }}</span>
<span class="flex-fill">{{ label | safe }}</span>
<span class="text-end" style="min-width:85px">
{% if precision == 4 %}{{ "%.4f"|format(val_piece) }} €
{% else %}{{ "%.2f"|format(val_piece) }} €{% endif %}