You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seems to me svg2jinja added the class in the past .. but no longer in new builds
/ this patch adds the class back by using addAttributesToSVGElement [1].
To test this patch use:
$ ./manage themes.simple
$ cat searx/templates/simple/icons.html
and check `class="ionicon"` is in the outer `<svg ..>` tags.
[1] https://svgo.dev/docs/plugins/add-attributes-to-svg-elements/
[2] https://ionic.io/ioniconsCloses: searxng#3383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Seems to me svg2jinja added the class in the past .. but no longer in new builds
/ this patch adds the class back by using addAttributesToSVGElement [1].
To test this patch use:
$ ./manage themes.simple
$ cat searx/templates/simple/icons.html
and check `class="ionicon"` is in the outer `<svg ..>` tags.
[1] https://svgo.dev/docs/plugins/add-attributes-to-svg-elements/
[2] https://ionic.io/ioniconsCloses: #3383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
With
make static.build.commit
the filesearx/templates/simple/icons.html
is build, but newer builds do longer add theclass="ionicon"
.I did a hotfix in the master branch to fix the current icons.html
Seems to me
svg2jinja
added the class in the past .. but no longer in new builds:searxng/searx/static/themes/simple/gruntfile.js
Lines 170 to 197 in 26a92c1
The text was updated successfully, but these errors were encountered: