twitter/bootstrap — Issue #1715: 2.0.0: BUG: stylesheet cannot handle code tag inside pre tag
Author: powder96
Created: 2012-02-04 15:46:43+00:00
State: open

It is allowed by HTML5 specification, but Bootstrap cannot render it "correctly".
https://github.com/michelf/php-markdown/issues/15

<pre><code>include_once "markdown.php";
$my_html = Markdown($my_text);
</code></pre>

<p>If you wish to use PHP Markdown with another text filter function
built to parse HTML, you should filter the text <em>after</em> the Markdown
function call. This is an example with <a href="http://michelf.com/projects/php-smartypants/">PHP SmartyPants</a>:</p>

<pre><code>$my_html = SmartyPants(Markdown($my_text));
</code></pre>

![Bug](http://habrastorage.org/storage2/3fe/efe/fd3/3feefefd39960a6f1b0a06a9d538003d.png)