Introduction
Introduction Statistics Contact Development Disclaimer Help
Switch htmlfmt to html2text. - annna - Annna the nice friendly bot.
git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws6…
Log
Files
Refs
Tags
README
---
commit 4f4e1df23d5ffd15534295f6ee48d69a859e084e
parent 8bc4a4bc87a272cc31c743e8433c789377458f99
Author: Annna Robert-Houdin <[email protected]>
Date: Sat, 15 Jan 2022 19:51:45 +0100
Switch htmlfmt to html2text.
Htmlfmt was segfaulting too much.
Diffstat:
M annna-message-common | 2 +-
A html2text | 9 +++++++++
2 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/annna-message-common b/annna-message-common
@@ -179,7 +179,7 @@ case "${text}" in
then
if [ -z "${curi}" ];
then
- curi="$(9 htmlfmt < "${tmpf}" | /br/bi…
+ curi="$(html2text < "${tmpf}" | /br/bi…
fi
outputstr="${outputstr} content: ${curi} ;"
fi
diff --git a/html2text b/html2text
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+lynx \
+ -dump \
+ -stdin \
+ -nomargins \
+ -display_charset="utf-8" \
+ -image_links
+
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.