tAdd more heuristics for html in a subject. - sfeed_sendmail - sfeed to sendmail command
(HTM) git clone git://r-36.net/sfeed_sendmail
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 54c29cd693a6fc89cdfa3831851f113c466d6e7e
(DIR) parent 02f3a4773a595809599875a48539e0850bda3825
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Wed, 21 Oct 2020 20:51:24 +0200
Add more heuristics for html in a subject.
Diffstat:
sfeed_sendmail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sfeed_sendmail b/sfeed_sendmail
t@@ -27,7 +27,7 @@ do
timestamp="$(TZ=UTC date -R -d @${timestamp})"
case "${title}" in
- *\;*)
+ *\;*|*</*|*=\"*)
# HTML encoding in title.
title="$(printf "%s\n" "${title}" \
| lynx -dump -stdin -nomargins \