I don't think that this is a bug in MultiMarkdown..
If I add the page to a test in my test suite, I get the following markup
out:
<p>First, if you follow the Authentication tutorial's example, you have
a database like the following.</p>
<pre><code> CREATE TABLE users (id INTEGER PRIMARY KEY, username TEXT,
password TEXT, email_address TEXT, first_name TEXT, last_name TEXT,
active INTEGER);
CREATE TABLE roles (id INTEGER PRIMARY KEY, role TEXT);
CREATE TABLE user_roles (user_id INTEGER, role_id INTEGER, PRIMARY KEY
(user_id, role_id));
</code></pre>
<p>You do not need to alter anything in your database.</p>
However, when I look at the version produced by the site:
<p>First, if you follow the Authentication tutorial's example, you have
a database like the following.</p>
<code> CREATE TABLE users (id INTEGER PRIMARY KEY, username TEXT,
password TEXT, email_address TEXT, first_name TEXT, last_name TEXT,
active INTEGER);
CREATE TABLE roles (id INTEGER PRIMARY KEY, role TEXT);
CREATE TABLE user_roles (user_id INTEGER, role_id INTEGER, PRIMARY KEY
(user_id, role_id));
</code></pre>
I guess that the missing <pre> tag is being taken out somewhere
in-between, and that's what is causing your issue...
I'm gonna close this, feel free to re-open if you can give me a string
that doesn't work when fed to (just) Text::MultiMarkdown...
P.S. I'm constructing the markdown object with:
my $m = Text::MultiMarkdown->new(
heading_ids => 0,
markdown_in_html_blocks => 1,
);
for this example..