1 parent
710bc5b8ca
commit
806387f3f6
2 files changed
+12
-6
No files matched your search
@@ -293,13 +293,15 @@ EOT;
|
||||
$this->assertHtmlGivesMarkdown('<pre> one line with spaces </pre>', "```\n one line with spaces \n```");
|
||||
$this->assertHtmlGivesMarkdown('<pre></pre>', "```\n```");
|
||||
$this->assertHtmlGivesMarkdown('<pre></pre><pre></pre>', "```\n```\n\n```\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n</pre>", "```\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n</pre>", "```\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>foo\n</pre>", "```\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\nfoo</pre>", "```\n\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\nfoo\n</pre>", "```\n\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n\n</pre>", "```\n\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n\n\n</pre>", "```\n\n\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n</pre><pre>\n</pre>", "```\n\n```\n\n```\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\nfoo</pre>", "```\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\nfoo\n</pre>", "```\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\r\nfoo</pre>", "```\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n\nfoo</pre>", "```\n\nfoo\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n\n</pre>", "```\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n\n\n</pre>", "```\n\n\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>\n</pre><pre>\n</pre>", "```\n```\n\n```\n```");
|
||||
$this->assertHtmlGivesMarkdown("<pre>one\ntwo\r\nthree</pre>\n<p>line</p>", "```\none\ntwo\nthree\n```\n\nline");
|
||||
$this->assertHtmlGivesMarkdown("<pre class='some-class'>test with attributes</pre>", "```\ntest with attributes\n```");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user