diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2024-04-21 20:16:08 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-04-27 09:33:20 +0200 |
| commit | d5930558882dffa22eda3bdd95a24e8c430b66c3 (patch) | |
| tree | 347d7509c17ca41917ecf06f7e888e2860ab5bc8 /docs/admin/installation-scripts.rst | |
| parent | 42b58eb4489e0493dc97a4a35b49921539c36d90 (diff) | |
[fix] ionic.io/ionicons - add back missing class="ionicon"
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/ionicons
Closes: https://github.com/searxng/searxng/issues/3383
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/admin/installation-scripts.rst')
0 files changed, 0 insertions, 0 deletions