Skip to content

Commit

Permalink
Merge pull request #62 from shingchi/master
Browse files Browse the repository at this point in the history
Update Markdown.php
  • Loading branch information
joyqi committed Nov 8, 2013
2 parents 4242c50 + ef6418b commit 9cad8fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/Markdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function transform($text) {

$this->teardown();

$text = preg_replace_callback("/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|script|noscript|iframe|object|embed)[^>]*>/is",
$text = preg_replace_callback("/<\/?(\!doctype|html|head|body|link|title|input|select|button|textarea|style|noscript)[^>]*>/is",
array(&$this, '_transform_callback'), $text);

return $text . "\n";
Expand Down

0 comments on commit 9cad8fa

Please sign in to comment.