[Kramdown-users] More HTML corruption

Eric Sunshine sunshine at sunshineco.com
Thu Dec 3 15:07:49 EST 2009


Hi Thomas,

There is still some HTML corruption even with the latest commit 
(89fc586b5f70ccfc8facfae48aa0a0ce31df1d73). With input:

   <dl>
   <dt>Moo</dt>
   <dd>
   Bar</dd>
   </dl>

   Cow
   ---

kramdown emits:

   <dl>
   <dt>Moo</dt>
   <dd>
   Bar</dd>

   Cow
   ---
   </dd></dl>

rather than the expected:

   <dl>
   <dt>Moo</dt>
   <dd>
   Bar</dd>
   </dl>

   <h2 id="cow">Cow</h2>

Note how it incorrectly incorporated the "Cow" and "---" as raw text 
into the <dl>...</dl> block.

-- ES


More information about the Kramdown-users mailing list