- PGM=`$SEARCHPROG "$SEARCHPATH" lynx`
- if [ ! -z "$PGM" ]; then
- #### lynx indents with 3 spaces, remove them and any trailing spaces.
- echo 'mhfixmsg-format-text/html: charset=%{charset}; '"\
-$PGM "'-child -dump -force_html ${charset:+--assume_charset "$charset"} %F | '"\
-expand | sed -e 's/^ //' -e 's/ *$//'" >> $TMP
- else
- PGM=`$SEARCHPROG "$SEARCHPATH" elinks`
- if [ ! -z "$PGM" ]; then
- echo "mhfixmsg-format-text/html: $PGM -dump -force-html \
--no-numbering -eval 'set document.browse.margin_width = 0' %F" >> $TMP
- fi
- fi