@@ -145,11 +145,11 @@ else # assume UTF-8
145145fi
146146
147147if [ -z "$argument" ]; then
148− tidy -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
148+ tidy -asxhtml -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
149149else
150150 if [ -f "$argument" ]; then
151151 to_utf8 "$argument" |
152− tidy -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
152+ tidy -asxhtml -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
153153 else
154154 err "File '$argument' not found."
155155 exit 1