Permalink
Browse files

Merge branch 'master' into extra

  • Loading branch information...
2 parents 03c564f + c4be903 commit 5a6f7922d2df6bb9a67fc91e700dcfbc7e6ae245 @michelf committed Sep 2, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 markdown.php
View
@@ -1060,7 +1060,7 @@ function _doCodeBlocks_callback($matches) {
# trim leading newlines and trailing newlines
$codeblock = preg_replace('/\A\n+|\n+\z/', '', $codeblock);
- $codeblock = "<pre><code>$codeblock\n</pre></code>";
+ $codeblock = "<pre><code>$codeblock\n</code></pre>";
return "\n\n".$this->hashBlock($codeblock)."\n\n";
}

0 comments on commit 5a6f792

Please sign in to comment.