Browse Source

fixing markdown

Taylor Otwell 13 years ago
parent
commit
3a0135a6d3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bundles/docs/libraries/markdown.php

+ 1 - 1
bundles/docs/libraries/markdown.php

@@ -1102,7 +1102,7 @@ class Markdown_Parser {
 		# trim leading newlines and trailing newlines
 		$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";
 	}