mirror of
https://github.com/miniflux/v2.git
synced 2025-08-16 18:01:37 +00:00
When `target="_blank"` is used, it has the same effect than rel="noopener", so we can remove the latter. Moreover, since we're already setting `<meta name="referrer" content="no-referrer" />` in the `<head>`, there is no need to set it on every single link in the HTML, as we're rendering everything in the same origin. Note that we need to keep adding those in the sanitizer, the entry content HTML can be consumed by third-party clients via the Miniflux/GoogleReader/Fever API. See https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/rel/noopener and https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy#integration_with_html |
||
---|---|---|
.. | ||
templates | ||
engine.go | ||
functions.go | ||
functions_test.go |