fix: broken HTML — spans inside title/aria-label attributes
- 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:
+4
-4
@@ -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"
|
||||
>
|
||||
−
|
||||
</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
|
||||
|
||||
Reference in New Issue
Block a user