From 74926c98310be9b3c5eedc61af28ec0b4bb4af65 Mon Sep 17 00:00:00 2001 From: naNuke Date: Fri, 10 Oct 2014 20:07:41 +0200 Subject: [PATCH] Add test of escaped html comment. --- test/ParsedownTest.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/ParsedownTest.php b/test/ParsedownTest.php index 3763372..d094f2d 100644 --- a/test/ParsedownTest.php +++ b/test/ParsedownTest.php @@ -109,6 +109,10 @@ paragraph color: red; } + +comment + + MARKDOWN_WITH_MARKUP; $expectedHtml = <<

</style>

+

comment

+

<!-- html comment -->

EXPECTED_HTML; $parsedownWithNoMarkup = new Parsedown(); $parsedownWithNoMarkup->setMarkupEscaped(true);