Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added a test that uses directly the Sundown extension

  • Loading branch information...
commit 2463bca40a708a69788707beb28f8288fda3505f 1 parent dc6f9aa
@ikwattro authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 Tests/Markdown/KwattroMarkdownTest.php
View
8 Tests/Markdown/KwattroMarkdownTest.php
@@ -66,4 +66,12 @@ public function testNoIntraEmphasis()
$expected = '<p>'.$link.'</p>'."\n";
$this->assertEquals($expected, $md->render($link));
}
+
+ public function testWithBaseSundownClasses()
+ {
+ $md = new \Sundown\Markdown(\Sundown\Render\HTML,array("no_intra_emphasis"=>true));
+ $txt = "no_intra_emphasis";
+ $exp = $txt;
+ $this->assertEquals($exp, $md->render($txt));
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.