diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/mediawiki-reader.native | 24 | ||||
-rw-r--r-- | tests/mediawiki-reader.wiki | 28 |
2 files changed, 51 insertions, 1 deletions
diff --git a/tests/mediawiki-reader.native b/tests/mediawiki-reader.native index 8b3eedf42..e8f33c062 100644 --- a/tests/mediawiki-reader.native +++ b/tests/mediawiki-reader.native @@ -32,4 +32,26 @@ Pandoc (Meta {docTitle = [], docAuthors = [], docDate = []}) ,Para [Str "between",Space,Str "blocks"] ,Header 2 [Str "linebreaks"] ,Para [Str "hi",LineBreak,Str "there"] -,Para [Str "hi",LineBreak,Str "there"]] +,Para [Str "hi",LineBreak,Str "there"] +,Header 2 [Str ":",Space,Str "indents"] +,Para [Str "hi"] +,DefinitionList + [([], + [[Plain [Str "there"]]])] +,Para [Str "bud"] +,Para [Str "hi"] +,DefinitionList + [([], + [[DefinitionList + [([], + [[Plain [Str "there"]]])]]])] +,Para [Str "bud"] +,Header 2 [Str "p",Space,Str "tags"] +,Para [Str "hi",Space,Str "there"] +,Para [Str "bud"] +,Para [Str "another"] +,Header 2 [Str "raw",Space,Str "html"] +,Para [Str "hi",Space,RawInline "html" "<span style=\"color:red\">",Emph [Str "there"],RawInline "html" "</span>",Str "."] +,RawBlock "html" "<div class=\"special\">" +,Para [Str "hi",Space,Emph [Str "there"]] +,RawBlock "html" "</div>"] diff --git a/tests/mediawiki-reader.wiki b/tests/mediawiki-reader.wiki index 6e51f1544..afee78007 100644 --- a/tests/mediawiki-reader.wiki +++ b/tests/mediawiki-reader.wiki @@ -69,3 +69,31 @@ hi<br/>there hi<br> there +== : indents == + +hi +: there +bud + +hi +:: there +bud + +== p tags == + +hi there +<p> +bud +<p> +another +</p> + +== raw html == + +hi <span style="color:red">''there''</span>. + +<div class="special"> +hi ''there'' +</div> + + |