From 4929cad323afc87404752a1e88664a7f42cbb737 Mon Sep 17 00:00:00 2001 From: David Levine Date: Sun, 8 Dec 2013 11:19:13 -0600 Subject: [PATCH] Added -eval 'set document.browse.margin_width = 0' to elinks command in mhfixmsg-format-text/html in mhn.defaults, to disable indentation of converted text. Thanks to Rickard Carlsson for this suggestion. --- etc/mhn.defaults.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index 08d08cf7..f5a3e693 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -33,7 +33,8 @@ elif [ ! -z "`$SEARCHPROG $SEARCHPATH lynx`" ]; then echo "mhfixmsg-format-text/html: lynx -child -dump -force_html '%F' | \ expand | sed -e 's/^ //' -e 's/ *$//'" >> $TMP elif [ ! -z "`$SEARCHPROG $SEARCHPATH elinks`" ]; then - echo "mhfixmsg-format-text/html: elinks -dump -force-html -no-numbering '%F'" >> $TMP + echo "mhfixmsg-format-text/html: elinks -dump -force-html -no-numbering \ +-eval 'set document.browse.margin_width = 0' '%F'" >> $TMP fi -- 2.56.0