|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-02-04 18:42 UTC] avb@php.net
[2012-04-06 14:53 UTC] bjori@php.net
-Status: Open
+Status: Feedback
[2012-04-06 14:53 UTC] bjori@php.net
[2012-04-06 14:55 UTC] avb@php.net
-Status: Feedback
+Status: Closed
[2012-04-06 14:55 UTC] avb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
Description: ------------ For some strange reason phpdotnet\phd\Package_PEAR_XHTML overrides methods for formatting table tags defined in phpdotnet\phd\Package_Generic_XHTML, for example: public function format_entry($open, $name, $attrs, $props) { if ($open) { if ($props['empty']) { return '<td></td>'; } return '<td>'; } return '</td>'; } Unlike code in parent class, this does not add any attributes whatsoever, so it is impossible to even do colspan and rowspan in PEAR manual. Commenting out format_table(), format_entry() and format_th_entry() improves output a lot. Test script: --------------- <entry morerows="1">...</entry> Expected result: ---------------- <td rowspan="2">...</td> Actual result: -------------- <td>...</td>