diff --git a/block_test.go b/block_test.go index b95edc2..60da6ca 100644 --- a/block_test.go +++ b/block_test.go @@ -1544,6 +1544,27 @@ func TestCDATA(t *testing.T) { "Lots of text\n\n\n", "

Lots of text

\n\n\n", + + "]]>\n", + "]]>\n", } doTestsBlock(t, tests, 0) + doTestsBlock(t, []string{ + "``` html\n\n```\n", + "
<![CDATA[foo]]>\n
\n", + + "\n", + "\n", + + ` def func(): +> pass +]]> +`, + ` def func(): +> pass +]]> +`, + }, EXTENSION_FENCED_CODE) }