diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-01-08 17:33:37 -0800 |
---|---|---|
committer | csforste <cforster@syr.edu> | 2016-01-19 14:03:57 -0500 |
commit | 4d74a966c4dae72f627696e6440f8ac530965d6c (patch) | |
tree | 865698c9e9aaea4074e77dc70e7de48d202c43ee /tests/Tests/Writers | |
parent | 25a9ca697a9fa3354e7a634d386efdef4031776f (diff) | |
download | pandoc-4d74a966c4dae72f627696e6440f8ac530965d6c.tar.gz |
Added some entity tests in Markdown reader tests.
Change types of divs.
From Docbook "sect#" and "simplesect" to "level#" and
"section."
Add tests.
Add mention of TEI to README.
Small changes to TEI writer.
Diffstat (limited to 'tests/Tests/Writers')
-rw-r--r-- | tests/Tests/Writers/TEI.hs | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/tests/Tests/Writers/TEI.hs b/tests/Tests/Writers/TEI.hs index 228cda67d..56764db9f 100644 --- a/tests/Tests/Writers/TEI.hs +++ b/tests/Tests/Writers/TEI.hs @@ -27,15 +27,17 @@ infix 4 =: tests :: [Test] tests = [ testGroup "block elements" ["para" =: para "Lorem ipsum cetera." - =?> "<p>Lorem ipsum cetera.</p>" + =?> "<p>Lorem ipsum cetera.</p>" ] --- ] --- , testGroup "lists" --- [ --- ] , testGroup "inlines" [ - "Emphasis" =: emph ("emphasized") - =?> "<hi rendition=\"simple:italic\">emphasized</hi>" - ] - ] + "Emphasis" =: emph ("emphasized") + =?> "<p><hi rendition=\"simple:italic\">emphasized</hi></p>" + ,"SingleQuoted" =: singleQuoted (text "quoted material") + =?> "<p><quote>quoted material</quote></p>" + ,"DoubleQuoted" =: doubleQuoted (text "quoted material") + =?> "<p><quote>quoted material</quote></p>" + ,"NestedQuoted" =: doubleQuoted (singleQuoted (text "quoted material")) + =?> "<p><quote><quote>quoted material</quote></quote></p>" + ] + ] |