1
0
mirror of https://github.com/searxng/searxng.git synced 2024-10-05 19:10:10 +02:00
searxng/searx/templates
Markus Heiser 9d106ae972 [fix] make oscar theme more CSP compliant - default-image-style
Add default-image-style in::

    searx/static/themes/oscar/src/less/result_templates.less

Replaced style= in files::

    ./oscar/result_templates/default.html:19:        <img src="{{ image_proxify(result.img_src or result.thumbnail) }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content">
    ./oscar/result_templates/files.html:24:<img src="{{ image_proxify(result.img_src) }}" alt="{{ result.title|striptags }}" title="{{ result.title|striptags }}" style="width: auto; max-height: 60px; min-height: 60px;" class="col-xs-2 col-sm-4 col-md-4 result-content">

Reported-by: https://github.com/searxng/searxng/issues/57
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
2021-09-07 08:20:30 +02:00
..
__common__ [enh] new issue: include information from searx.version 2021-08-31 11:45:33 +02:00
oscar [fix] make oscar theme more CSP compliant - default-image-style 2021-09-07 08:20:30 +02:00
simple [fix] make /preferences more CSP compliant - simple & oscar theme 2021-09-07 08:20:30 +02:00