aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-05-03 14:43:16 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2007-05-03 14:43:16 +0000
commit23841bdf77b4aa595ebcb2bcddcbb93a89231745 (patch)
treeef1c8b7ae989ea43b43a40d6bc898442da877f1b
parentcf081435ff00004188f584b180fc66d8e4fe7a57 (diff)
downloadpandoc-23841bdf77b4aa595ebcb2bcddcbb93a89231745.tar.gz
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
-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