erreur_analyse.html 7 lignes · 516 octets
{# E024-C10 Erreur d'analyse d'un filtre (variable `a` : ErreurAnalyse) : message, position, caret sous le caractère fautif. #}
<p>{{ a.message }}{% if let Some(position) = a.position %} (position <span class="font-mono">{{ position }}</span>){% endif %}.</p>
{% if !a.texte.is_empty() %}
<pre tabindex="0" class="overflow-x-auto rounded-xs bg-background p-xs font-mono text-sm text-foreground">{{ a.texte }}
{{ a.decalage }}<span class="text-error-ink">^</span></pre>
<p>En cause : {{ a.fautif }}.</p>
{% endif %}