forked from Ponysearch/Ponysearch
d593055888
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> |
||
---|---|---|
.. | ||
elements | ||
filters | ||
messages | ||
preferences | ||
result_templates | ||
404.html | ||
base.html | ||
categories.html | ||
icons.html | ||
index.html | ||
info.html | ||
macros.html | ||
new_issue.html | ||
opensearch.xml | ||
opensearch_response_rss.xml | ||
page_with_header.html | ||
preferences.html | ||
results.html | ||
search.html | ||
searxng-wordmark.min.svg | ||
simple_search.html | ||
stats.html |