|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51514 PhD has no handler for tr, td, th tags
Submitted: 2010-04-08 18:21 UTC Modified: 2010-04-09 10:51 UTC
From: pmjones88 at gmail dot com Assigned: rquadling (profile)
Status: Closed Package: Doc Build problem
PHP Version: 5.3.2 OS: Mac OS X 10.6.3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: pmjones88 at gmail dot com
New email:
PHP Version: OS:


 [2010-04-08 18:21 UTC] pmjones88 at gmail dot com
When rendering DocBook with tables, PhD warns that there is no handler for tr, th, and td tags.

Easy fix:  add these three elements to the private property $myelementmap in the Package_Generic_XHTML class:

        'tr'                    => 'format_row',
        'th'                    => 'format_th',
        'td'                    => 'format_th',

Thanks in advance!

Test script:

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-09 10:50 UTC]
Automatic comment from SVN on behalf of rquadling
Log: Fixed #51514 - Added tr, th and td mappings
 [2010-04-09 10:51 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling
 [2010-04-09 10:51 UTC]
This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 05 04:01:29 2024 UTC