Dither non-thumbnailed images

This commit is contained in:
David Eisinger
2024-02-02 01:15:14 -05:00
parent 0745f890b1
commit 56f08b4873
9 changed files with 19 additions and 18 deletions

View File

@@ -40,7 +40,7 @@ page, not to mention what a `<div>` can do. Self-closing tags are okay.
With these requirements in mind, we subclassed HTML::WhiteListSanitizer
and fixed it up. Introducing, then:
<img src="jason_statham.jpg" class="inline">
{{<dither jason_statham.jpg "" "inline" />}}
[**HTML::StathamSanitizer**](https://gist.github.com/241114).
User-generated markup, you're on notice: this sanitizer will take its