You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
searxng/searx/static/themes/simple
Markus Heiser b07884c958 [fix] Optimize SVG for WEB usage / CSP 'style-src self'
- Replace grunt-contrib-htmlmin by grunt-image [1].

- Activate svgo's [2] convertStyleToAttrs to make the HTML inline SVGs
  compoliant to the CSP policy [3]::

    Content-Security-Policy: style-src self;

[1] https://www.npmjs.com/package/grunt-image
[2] https://github.com/svg/svgo
[3] https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/style-src

Closes: https://github.com/searxng/searxng/issues/502

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
3 years ago
..
css [build] /static 3 years ago
img [build] /static 3 years ago
js [build] /static 3 years ago
src [theme] add border radius to engine token input 3 years ago
.eslintrc.json [fix] Optimize SVG for WEB usage / CSP 'style-src self' 3 years ago
.gitignore [themes] ignore packages-lock.json 3 years ago
.jshintrc [emacs] .dir-locals.el: add setup for js-mode 3 years ago
.stylelintrc.json [mod] add stylelint process to target themes.simple 3 years ago
gruntfile.js [fix] Optimize SVG for WEB usage / CSP 'style-src self' 3 years ago
package.json [fix] Optimize SVG for WEB usage / CSP 'style-src self' 3 years ago
svg4web.svgo.js [fix] Optimize SVG for WEB usage / CSP 'style-src self' 3 years ago