summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/wrappers/html2markdown.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wrappers/html2markdown.in b/src/wrappers/html2markdown.in
index 7a7259d4f..ad026c24e 100644
--- a/src/wrappers/html2markdown.in
+++ b/src/wrappers/html2markdown.in
@@ -145,11 +145,11 @@ else # assume UTF-8
fi
if [ -z "$argument" ]; then
- tidy -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
+ tidy -asxhtml -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
else
if [ -f "$argument" ]; then
to_utf8 "$argument" |
- tidy -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
+ tidy -asxhtml -utf8 2>/dev/null | pandoc --ignore-args -r html -w markdown "$@"
else
err "File '$argument' not found."
exit 1