PhD has no handler for tr, td, th tags (original) (raw)

| 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 | |

[2010-04-08 18:21 UTC] pmjones88 at gmail dot com

Description:

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:

n/a

Expected result:

n/a

Actual result:

n/a

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

[2010-04-09 10:51 UTC] rquadling@php.net

-Status: Open +Status: Closed -Assigned To: +Assigned To: rquadling

[2010-04-09 10:51 UTC] rquadling@php.net

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 http://snaps.php.net/.

Thank you for the report, and for helping us make PHP better.