git.iko.soy/typeable/pandoc
on master help sign in
Textile reader: updated test suite to include raw HTML.
968748dJohn MacFarlane
tests/textile-reader.native+6−6
@@ -113,16 +113,16 @@ Pandoc (Meta {docTitle = [Str ""], docAuthors = [[Str ""]], docDate = [Str ""]})
113 , [ Plain [Str "24"] ]
113 , [ Plain [Str "24"] ]
114 , [ Plain [Str "f"] ] ] ]
114 , [ Plain [Str "f"] ] ] ]
115, Header 1 [Str "Raw",Space,Str "HTML"]
115, Header 1 [Str "Raw",Space,Str "HTML"]
116−, Para [Str "However",Str ",",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,Str "are",Space,Str "accepted",Str ",",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"]
116+, Para [Str "However",Str ",",Space,HtmlInline "<strong>",Space,Str "raw",Space,Str "HTML",Space,Str "inlines",Space,HtmlInline "</strong>",Space,Str "are",Space,Str "accepted",Str ",",Space,Str "as",Space,Str "well",Space,Str "as",Space,Str ":"]
117−, Null
117+, RawHtml "<div class=\"foobar\">"
118, Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold",LineBreak]
118, Para [Str "any",Space,Strong [Str "Raw",Space,Str "HTML",Space,Str "Block"],Space,Str "with",Space,Str "bold",LineBreak]
119−, Null
119+, RawHtml "</div>"
120, Para [Str "Html",Space,Str "blocks",Space,Str "can",Space,Str "be"]
120, Para [Str "Html",Space,Str "blocks",Space,Str "can",Space,Str "be"]
121−, Null
121+, RawHtml "<div>"
122, Para [Str "inlined"]
122, Para [Str "inlined"]
123−, Null
123+, RawHtml "</div>"
124, Para [Str "as",Space,Str "well",Str "."]
124, Para [Str "as",Space,Str "well",Str "."]
125, BulletList
125, BulletList
126 [ [ Plain [Str "this",Space,Str "<",Str "div",Str ">",Space,Str "won",Str "'",Str "t",Space,Str "produce",Space,Str "raw",Space,Str "html",Space,Str "blocks",Space,Str "<",Str "/div",Str ">"] ]
126 [ [ Plain [Str "this",Space,Str "<",Str "div",Str ">",Space,Str "won",Str "'",Str "t",Space,Str "produce",Space,Str "raw",Space,Str "html",Space,Str "blocks",Space,Str "<",Str "/div",Str ">"] ]
127− , [ Plain [Str "but",Space,Str "this",Space,Str "",Space,Str "will",Space,Str "produce",Space,Str "inline",Space,Str "html",Space,Str ""] ] ]
127+ , [ Plain [Str "but",Space,Str "this",Space,HtmlInline "<strong>",Space,Str "will",Space,Str "produce",Space,Str "inline",Space,Str "html",Space,HtmlInline "</strong>"] ] ]
128, Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"] ]
128, Para [Str "Can",Space,Str "you",Space,Str "prove",Space,Str "that",Space,Str "2",Space,Str "<",Space,Str "3",Space,Str "?"] ]