First inner caption of nested table doesn’t output
-
Hi,
I found an interesting bug. I have nested tables (a single table holds two tables in one TR). Each of the three tables has its caption property set. If I export to PDF, the outer table’s caption as well as the SECOND inner table’s caption gets exported, but the first inner table’s caption is ignored. However, if I remove the OUTER table’s caption, both inner table captions are exported. I narrowed down the HTML code that causes the problem and have included it here. I include both the case where only one inner caption appears and one with both do.
BOTH inner captions are exported – outer table CAPTION commented out
<table> <!--<caption class='caption_center'><h2>My Table</h2></caption>--> <tr> <td width='50%' valign='top'> <table> <caption>Caption1</caption> </table> </td> <td width='50%' valign='top'> <table> <caption>Caption 2</caption> </table> </td> </tr></table> [dkpdf-button]
ONLY first inner caption exported because the outer table CAPTION not commented out
<table> <caption class='caption_center'><h2>My Table</h2></caption> <tr> <td width='50%' valign='top'> <table> <caption>Caption1</caption> </table> </td> <td width='50%' valign='top'> <table> <caption>Caption 2</caption> </table> </td> </tr></table> [dkpdf-button]
Regards,
Rob
- The topic ‘First inner caption of nested table doesn’t output’ is closed to new replies.