]> diplodocus.org Git - nmh/commitdiff
Added -eval 'set document.browse.margin_width = 0' to elinks
authorDavid Levine <levinedl@acm.org>
Sun, 8 Dec 2013 17:19:13 +0000 (11:19 -0600)
committerDavid Levine <levinedl@acm.org>
Sun, 8 Dec 2013 17:19:13 +0000 (11:19 -0600)
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

index 08d08cf..f5a3e69 100755 (executable)
@@ -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