|  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
Status: Closed Package: Doc Build problem
PHP Version: 5.3.2 OS: Mac OS X 10.6.3
Private report: No CVE-ID:
 [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-2015 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 23:01:31 2015 UTC