<x>
", "should support turning off html (flow)" ); assert_eq!( to_mdast("
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
okay",
&danger
)?,
"
import Text.HTML.TagSoup
main :: IO ()
main = print $ parseTags tags
okay
", "should support raw pre tags (type 1)" ); assert_eq!( to_html_with_options( " okay", &danger )?, "okay
", "should support raw script tags" ); assert_eq!( to_html_with_options( " okay", &danger )?, "okay
", "should support raw style tags" ); assert_eq!( to_html_with_options("\n*foo*", &danger)?, "\nfoo
", "should support raw tags w/ start and end on a single line" ); assert_eq!( to_html_with_options("1. *bar*", &danger)?, "1. *bar*", "should support raw tags w/ more data on ending line" ); assert_eq!( to_html_with_options("a`" ); assert_eq!( to_html_with_options("", &danger)?, "", "should support blank lines in raw" ); assert_eq!( to_html_with_options(">