cl-markdown does not yet treat <div> tags in the special way that perl-markdown treats them; instead cl-markdown wraps <div> tags in <p> tags. Here is an example input string:
input string (9 lines total): =============================
<div class="header">
Header text
</div>
# Heading
Some text
Here are the respective output strings:
cl-markdown output: ===================
<p><div class="header"> </p><p>Header text </p><p></div> </p><h1>Heading </h1> <p>Some text </p>
perl-markdown output: =====================x
<div class="header">
Header text
</div>
<h1>Heading</h1>
<p>Some text</p>
See the description of how perl-markdown treats div tags: http://daringfireball.net/projects/markdown/syntax#html
Thanks, Hans