fix: échappement HTML dans le macro brow (| safe)
Deploy via Portainer / deploy (push) Successful in 0s
Deploy via Portainer / deploy (push) Successful in 0s
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user