Add -asxhtml flag to tidy in html2markdown. This will

perhaps help the parser.


git-svn-id: https://pandoc.googlecode.com/svn/trunk@590 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher
2007-05-03 14:43:16 +00:00
parent cf081435ff
commit 23841bdf77
+2 -2
View File
@@ -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