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"
|
class="search-btn icon-only"
|
||||||
id="search-filter-btn"
|
id="search-filter-btn"
|
||||||
type="button"
|
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
|
<i
|
||||||
data-lucide="filter"
|
data-lucide="filter"
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
class="search-btn icon-only"
|
class="search-btn icon-only"
|
||||||
id="search-clear-btn"
|
id="search-clear-btn"
|
||||||
type="button"
|
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"
|
aria-label="Effacer la recherche"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
@@ -1004,7 +1004,7 @@
|
|||||||
class="qh-toggle"
|
class="qh-toggle"
|
||||||
id="qh-toggle"
|
id="qh-toggle"
|
||||||
title="Masquer"
|
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>
|
</button>
|
||||||
@@ -2537,7 +2537,7 @@
|
|||||||
<button
|
<button
|
||||||
class="editor-btn"
|
class="editor-btn"
|
||||||
id="help-close"
|
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"
|
aria-label="Fermer l'aide"
|
||||||
>
|
>
|
||||||
<i
|
<i
|
||||||
|
|||||||
Reference in New Issue
Block a user