[cl-markdown-devel] div tags

Hans Halvorson hhalvors at Princeton.EDU
Mon Feb 26 14:50:55 UTC 2007


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



More information about the Cl-markdown-devel mailing list