PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTML » Pager » Bug #4895

Replace b and u tags with span?

Details

Request #4895Replace b and u tags with span?
Submitted2005-07-23 00:54 UTC
Fromcaphrim007 at gmail dot com
Assignedquipo
StatusClosed
PackagePager
PHP Version5.0.3
OSFedora Core 2
Roadmaps(Not assigned)

Comments

[2005-07-23 00:54 UTC] caphrim007 at gmail dot com

Description:
------------
In Pager/Sliding would it be possible to replace the _curPageSpanPre and _curPageSpanPost with span tags so that generated pages pass HTML Strict validation?

Tim

Test script:
---------------
Here's what I changed mine to.

Lines 60 and 61
$this->_curPageSpanPre = '<span style="font-weight: bold; text-decoration: underline">';
$this->_curPageSpanPost = '</span>';

Expected result:
----------------
No rendering differences except that the html is now valid html 4.01 strict.

[2005-07-25 02:26 UTC] caphrim007 at gmail dot com

Excellent. Guess I missed this when I went looking through the docs the first time. Sorry to open a ticket for this. Great package, keep up the good work!

Tim