)\s*|\1|gs; # Remove
tags immediately
# following
tags. (This
# problem appeared somewhere
# between wv-0.5.42 and
# wv-0.7.4.)
' |
w3m -dump -T text/html |
perl -p -e '
s/\n\s*\n/\n\n/gs; # Delete extra whitespace
# between lines.
s/\xa0/ /gs; # Change A0 spaces to ASCII
# spaces.
'