From 23841bdf77b4aa595ebcb2bcddcbb93a89231745 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 3 May 2007 14:43:16 +0000 Subject: 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 --- src/wrappers/html2markdown.in | 4 ++-- 1 file 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 -- cgit v1.2.3