git.iko.soy/typeable/pandoc
on master help sign in
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

commit23841bdf77b4aa595ebcb2bcddcbb93a89231745 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateThu 3 May 2007, 14:43 (19 years ago) parentcf08143
1 file changed+2−2
src/wrappers/html2markdown.in+2−2
src/wrappers/html2markdown.in+2−2
@@ -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