fix: broken HTML — spans inside title/aria-label attributes
CI / lint (push) Failing after 19s
CI / test (push) Has been skipped
CI / build (push) Has been skipped
CI / e2e (push) Has been skipped
CI / security (push) Failing after 10s

- Filtres de chemin: changed to data-i18n-attr
- help close/hide/clear buttons: changed to data-i18n-attr
- aria-label spans: changed to data-i18n-attr
- This fixes the visible HTML tag leakage in the UI
This commit is contained in:
2026-06-19 08:47:50 -04:00
parent c93b7fb2fd
commit aa06ae534b
+4 -4
View File
@@ -299,7 +299,7 @@
class="search-btn icon-only"
id="search-filter-btn"
type="button"
title="<span data-i18n="sidebar.filter_path">Filtres de chemin</span> (Alt-F)"
title="Filtres de chemin (Alt-F)" data-i18n-attr="title:sidebar.filter_path"
>
<i
data-lucide="filter"
@@ -310,7 +310,7 @@
class="search-btn icon-only"
id="search-clear-btn"
type="button"
title="<span data-i18n="help.clear_search">Effacer</span>"
title="Effacer" data-i18n-attr="title:help.clear_search"
aria-label="Effacer la recherche"
>
<i
@@ -1004,7 +1004,7 @@
class="qh-toggle"
id="qh-toggle"
title="Masquer"
aria-label="<span data-i18n="help.hide_help">Masquer l'aide</span>"
aria-label="Masquer l'aide" data-i18n-attr="aria-label:help.hide_help"
>
&minus;
</button>
@@ -2537,7 +2537,7 @@
<button
class="editor-btn"
id="help-close"
title="<span data-i18n="help.close_help">Fermer l'aide</span>"
title="Fermer l'aide" data-i18n-attr="title:help.close_help"
aria-label="Fermer l'aide"
>
<i