Seems that the use of gen_extract_tagged call in markdown extracts the following block from my test case:
<div class="baz"> <div class="bar"> foo </div> Which leaves the final closing div dangling. It's having trouble finding the right closing tag. I checked, and Text::Balanced is generating a closetag of "</div>". Problem is, this matches the first closing div, rather than the second one. It doesn't seem to notice that there is a nested div. I am not yet sure if the bug is in how Text::Balanced is used, or if Text::Balanced really cannot handle this. It seems to have code to check for a nested tag, but that check is not firing. -- see shy jo
signature.asc
Description: Digital signature