Home » HTML » Pager » Bug #4895
Replace b and u tags with span?
Details
| Request #4895 | Replace b and u tags with span? |
|---|---|
| Submitted | 2005-07-23 00:54 UTC |
| From | caphrim007 at gmail dot com |
| Assigned | quipo |
| Status | Closed |
| Package | Pager |
| PHP Version | 5.0.3 |
| OS | Fedora 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