Skip to content

Commit

Permalink
Merge branch 'master' into extra
Browse files Browse the repository at this point in the history
  • Loading branch information
michelf committed Sep 2, 2007
2 parents 03c564f + c4be903 commit 5a6f792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion markdown.php
Expand Up @@ -1060,7 +1060,7 @@ function _doCodeBlocks_callback($matches) {
# trim leading newlines and trailing newlines # trim leading newlines and trailing newlines
$codeblock = preg_replace('/\A\n+|\n+\z/', '', $codeblock); $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"; return "\n\n".$this->hashBlock($codeblock)."\n\n";
} }


Expand Down

0 comments on commit 5a6f792

Please sign in to comment.