diff options
author | Moritz Poldrack <git@moritz.sh> | 2024-01-18 23:33:30 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-01-19 23:31:52 +0100 |
commit | 2d9d7e0bed87d11771a7264c08c02d110eef6751 (patch) | |
tree | f8aa544d86b1f3fae675e79f318db5556d1ddfba /lib/notmuch/message.go | |
parent | 978b5e444215255a9671ce439f1594888697f799 (diff) | |
download | aerc-2d9d7e0bed87d11771a7264c08c02d110eef6751.tar.gz |
templates: add basic string functions
Some clients are sending a text/plain part that contains nothing but the
text/html part. This is rather suboptimal when replying. To be able to
filter these, it is important to be able to detect things like
<!doctype html>.
Add basic string operations to the template functions.
Signed-off-by: Moritz Poldrack <git@moritz.sh>
Tested-by: Koni Marti <koni.marti@gmail.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'lib/notmuch/message.go')
0 files changed, 0 insertions, 0 deletions