Merge pull request #62 from shingchi/master

Update Markdown.php
This commit is contained in:
joyqi 2013-11-07 19:54:25 -08:00
commit 9cad8fa257

View File

@ -178,7 +178,7 @@ class Markdown {
$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";