Commit 3a0135a6 authored by Taylor Otwell's avatar Taylor Otwell

fixing markdown

parent 6dd80636
...@@ -1102,7 +1102,7 @@ class Markdown_Parser { ...@@ -1102,7 +1102,7 @@ class Markdown_Parser {
# 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 class=\"prettyprint lang-php linenums\"><code>$codeblock\n</code></pre>"; $codeblock = "<pre class=\"prettyprint lang-php linenums\">$codeblock\n</pre>";
return "\n\n".$this->hashBlock($codeblock)."\n\n"; return "\n\n".$this->hashBlock($codeblock)."\n\n";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment