Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.4

Bug #12705 Empty tags are not XHTML compliant
Submitted: 2007-12-17 01:40 UTC
From: denny Assigned: wiesemann
Status: Closed Package: HTML_Table (version 1.8.1)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2007-12-17 01:40 UTC] denny (Denny Shimkoski)
Description: ------------ Please see examples for clarification. Test script: --------------- $tbl = new HTML_Table(); $tbl->setColGroup(array(array('colspan' => 2))); $tbl->addRow(array('test', 'row')); $tbl->display(); Expected result: ---------------- <table> <colgroup> <col colspan="2" /> </colgroup> <tr> <td>test</td> <td>row</td> </tr> </table> Actual result: -------------- <table> <colgroup> <col colspan="2"> </colgroup> <tr> <td>test</td> <td>row</td> </tr> </table>

Comments

 [2007-12-17 20:46 UTC] wiesemann (Mark Wiesemann)
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/HTML_Table