diff --git a/lesspipe.sh.in b/lesspipe.sh.in index 407bc7d..d29b24e 100755 --- a/lesspipe.sh.in +++ b/lesspipe.sh.in @@ -496,7 +496,8 @@ parsehtml () { return #ifdef html2text elif cmd_exist html2text; then - html2text -style pretty "$1" + if [[ "$1" = - ]]; then set /dev/stdin; fi + html2text "$1" #ifdef lynx elif cmd_exist lynx; then if [[ "$1" = - ]]; then set - -stdin; fi