use mini_markdown::render; #[test] fn commonmark_test_148_html_blocks() { let test_html = render("
\n
\n**Hello**,\n\n_world_.\n
\n
\n"); let reference_html = "
\n
\n**Hello**,\n

world.\n

\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_149_html_blocks() { let test_html = render("\n \n \n \n
\n hi\n
\n\nokay.\n"); let reference_html = "\n \n \n \n
\n hi\n
\n

okay.

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_150_html_blocks() { let test_html = render("
\n *hello*\n \n"); let reference_html = "
\n *hello*\n \n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_151_html_blocks() { let test_html = render("
\n*foo*\n"); let reference_html = "
\n*foo*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_152_html_blocks() { let test_html = render("
\n\n*Markdown*\n\n
\n"); let reference_html = "
\n

Markdown

\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_153_html_blocks() { let test_html = render("
\n
\n"); let reference_html = "
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_154_html_blocks() { let test_html = render("
\n
\n"); let reference_html = "
\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_155_html_blocks() { let test_html = render("
\n*foo*\n\n*bar*\n"); let reference_html = "
\n*foo*\n

bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_156_html_blocks() { let test_html = render("
\n"); let reference_html = "
*foo*
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_160_html_blocks() { let test_html = render("
\nfoo\n
\n"); let reference_html = "
\nfoo\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_161_html_blocks() { let test_html = render("
\n``` c\nint x = 33;\n```\n"); let reference_html = "
\n``` c\nint x = 33;\n```\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_162_html_blocks() { let test_html = render("\n*bar*\n\n"); let reference_html = "\n*bar*\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_163_html_blocks() { let test_html = render("\n*bar*\n\n"); let reference_html = "\n*bar*\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_164_html_blocks() { let test_html = render("\n*bar*\n\n"); let reference_html = "\n*bar*\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_165_html_blocks() { let test_html = render("\n*bar*\n"); let reference_html = "\n*bar*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_166_html_blocks() { let test_html = render("\n*foo*\n\n"); let reference_html = "\n*foo*\n\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_167_html_blocks() { let test_html = render("\n\n*foo*\n\n\n"); let reference_html = "\n

foo

\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_168_html_blocks() { let test_html = render("*foo*\n"); let reference_html = "

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_169_html_blocks() { let test_html = render("
\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n
\nokay\n"); let reference_html = "
\nimport Text.HTML.TagSoup\n\nmain :: IO ()\nmain = print $ parseTags tags\n
\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_170_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_171_html_blocks() { let test_html = render("\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_172_html_blocks() { let test_html = render("\nh1 {color:red;}\n\np {color:blue;}\n\nokay\n"); let reference_html = "\nh1 {color:red;}\n\np {color:blue;}\n\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_173_html_blocks() { let test_html = render("\n\nfoo\n"); let reference_html = "\n\nfoo\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_174_html_blocks() { let test_html = render(">
\n> foo\n\nbar\n"); let reference_html = "
\n
\nfoo\n
\n

bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_175_html_blocks() { let test_html = render("-
\n- foo\n"); let reference_html = "
    \n
  • \n
    \n
  • \n
  • foo
  • \n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_176_html_blocks() { let test_html = render("\n*foo*\n"); let reference_html = "\n

foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_177_html_blocks() { let test_html = render("*bar*\n*baz*\n"); let reference_html = "*bar*\n

baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_178_html_blocks() { let test_html = render("1. *bar*\n"); let reference_html = "1. *bar*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_179_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_180_html_blocks() { let test_html = render("';\n\n?>\nokay\n"); let reference_html = "';\n\n?>\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_181_html_blocks() { let test_html = render("\n"); let reference_html = "\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_182_html_blocks() { let test_html = render("\nokay\n"); let reference_html = "\n

okay

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_183_html_blocks() { let test_html = render(" \n\n \n"); let reference_html = " \n
<!-- foo -->\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_184_html_blocks() { let test_html = render("
\n\n
\n"); let reference_html = "
\n
<div>\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_185_html_blocks() { let test_html = render("Foo\n
\nbar\n
\n"); let reference_html = "

Foo

\n
\nbar\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_186_html_blocks() { let test_html = render("
\nbar\n
\n*foo*\n"); let reference_html = "
\nbar\n
\n*foo*\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_187_html_blocks() { let test_html = render("Foo\n\nbaz\n"); let reference_html = "

Foo\n\nbaz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_188_html_blocks() { let test_html = render("
\n\n*Emphasized* text.\n\n
\n"); let reference_html = "
\n

Emphasized text.

\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_189_html_blocks() { let test_html = render("
\n*Emphasized* text.\n
\n"); let reference_html = "
\n*Emphasized* text.\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_190_html_blocks() { let test_html = render("\n\n\n\n\n\n\n\n
\nHi\n
\n"); let reference_html = "\n\n\n\n
\nHi\n
\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_191_html_blocks() { let test_html = render("\n\n \n\n \n\n \n\n
\n Hi\n
\n"); let reference_html = "\n \n
<td>\n  Hi\n</td>\n
\n \n
\n"; assert_eq!(test_html, reference_html); }