X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ed3214f1518b36c8b96a1a17be4af0a708ea25e3..c72aa476d3eec3bede50fdee7e0bd30ef69f1f4b:/etc/mhn.defaults.sh?ds=sidebyside diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index b7cecd51..7e9ca564 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -27,11 +27,11 @@ trap "rm -f $TMP" 0 1 2 3 13 15 if [ ! -z "`$SEARCHPROG $SEARCHPATH w3m`" ]; then - echo 'mhfixmsg-format-text/html: charset="%{charset}"; '"\ + echo 'mhfixmsg-format-text/html: charset=%{charset}; '"\ "'w3m -dump -T text/html "${charset:+-I $charset}" -O utf-8 %F' >> $TMP elif [ ! -z "`$SEARCHPROG $SEARCHPATH lynx`" ]; then #### lynx indents with 3 spaces, remove them and any trailing spaces. - echo 'mhfixmsg-format-text/html: charset="%{charset}"; '"\ + echo 'mhfixmsg-format-text/html: charset=%{charset}; '"\ "'lynx -child -dump -force_html "${charset:+--assume_charset $charset}" %F | '"\ expand | sed -e 's/^ //' -e 's/ *$//'" >> $TMP elif [ ! -z "`$SEARCHPROG $SEARCHPATH elinks`" ]; then @@ -239,12 +239,12 @@ EOF # that another netscape is already running and certain things can't be done). PGM="`$SEARCHPROG $SEARCHPATH lynx`" if [ ! -z "$PGM" ]; then - echo 'mhshow-show-text/html: charset="%{charset}"; '"\ + echo 'mhshow-show-text/html: charset=%{charset}; '"\ %p$PGM"' -force-html "${charset:+--assume_charset $charset}" %F' >> $TMP else PGM="`$SEARCHPROG $SEARCHPATH w3m`" if [ ! -z "$PGM" ]; then - echo 'mhshow-show-text/html: charset="%{charset}"; '"\ + echo 'mhshow-show-text/html: charset=%{charset}; '"\ %p$PGM"' "${charset:+-I $charset}" -T text/html %F' >> $TMP fi fi