aboutsummaryrefslogtreecommitdiff
path: root/plugins/viewhtml/sanitize.go
Commit message (Collapse)AuthorAgeFilesLines
* plugins/viewhtml: add opt-in query param to load remote resourcesSimon Ser2020-02-251-2/+6
| | | | Loading remote resources by default has privacy implications.
* plugins/viewhtml: add image proxySimon Ser2020-02-251-7/+22
|
* Revert "plugins/viewhtml: convert mailto links"Simon Ser2020-02-251-30/+8
| | | | | | | | | This reverts commit 02faf6174b3d94efd1ee3cc842b55001639a8983. This commit doesn't work, because it's applied to <img> tags. Making it handle <a> tags doesn't work either because bluemonday will strip any target="_blank" attributes, making the compose form open in the <iframe>. Let's just revert this whole commit for now.
* plugins/viewhtml: convert mailto linksSimon Ser2020-02-251-8/+30
|
* plugins/viewhtml: add support for inline Content-Id imagesSimon Ser2020-02-251-3/+19
| | | | Closes: https://todo.sr.ht/~sircmpwn/koushin/33
* plugins/viewhtml: add sanitizer structSimon Ser2020-02-251-11/+20
|
* Turn message part viewers into pluginsSimon Ser2020-02-121-0/+193