1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-30 19:22:11 +00:00
This commit is contained in:
Julien Voisin 2025-09-30 14:22:26 +02:00 committed by GitHub
commit 74cbc2df59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View file

@ -88,7 +88,7 @@ func (f *funcMap) Map() template.FuncMap {
"theme_color": model.ThemeColor,
"icon": func(iconName string) template.HTML {
return template.HTML(fmt.Sprintf(
`<svg class="icon" aria-hidden="true"><use href="%s#icon-%s"/></svg>`,
`<svg aria-hidden="true"><use href="%s#icon-%s"/></svg>`,
route.Path(f.router, "appIcon", "filename", "sprite.svg"),
iconName,
))