diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Old.hs | 2 | ||||
-rw-r--r-- | test/command/parse-raw.md | 27 |
2 files changed, 28 insertions, 1 deletions
diff --git a/test/Tests/Old.hs b/test/Tests/Old.hs index ba8ea8240..d9877c8a0 100644 --- a/test/Tests/Old.hs +++ b/test/Tests/Old.hs @@ -46,7 +46,7 @@ tests = [ testGroup "markdown" , testGroup "latex" [ testGroup "writer" (writerTests "latex" ++ lhsWriterTests "latex") , testGroup "reader" - [ test "basic" ["-r", "latex", "-w", "native", "-s", "-R"] + [ test "basic" ["-r", "latex+raw_tex", "-w", "native", "-s"] "latex-reader.latex" "latex-reader.native" , lhsReaderTest "latex+lhs" ] diff --git a/test/command/parse-raw.md b/test/command/parse-raw.md new file mode 100644 index 000000000..f4e493c69 --- /dev/null +++ b/test/command/parse-raw.md @@ -0,0 +1,27 @@ +``` +% pandoc -f latex+raw_tex -t markdown +\emph{Hi \foo{there}} +^D +*Hi \foo{there}* +``` + +``` +% pandoc -f latex -t markdown +\emph{Hi \foo{there}} +^D +*Hi* +``` + +``` +% pandoc -f html+raw_html -t markdown +<em>Hi <blink>there</blink></em> +^D +*Hi <blink>there</blink>* +``` + +``` +% pandoc -f html -t markdown +<em>Hi <blink>there</blink></em> +^D +*Hi there* +``` |