From: David Levine Date: Sun, 8 Dec 2013 17:19:13 +0000 (-0600) Subject: Added -eval 'set document.browse.margin_width = 0' to elinks X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/4929cad323afc87404752a1e88664a7f42cbb737 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. --- 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