HTML_TreeMenu_DHTML::toHtml() XHTML compliancy fix
| From: | Matte Edens | Date: | Fri, 02 Jul 2004 04:01:15 +0000 |
| Subject: | HTML_TreeMenu_DHTML::toHtml() XHTML compliancy fix | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-13448@lists.php.net to get a copy of this message | ||
In the HTML_TreeMenu_DHTML::toHtml() function, if you are using HTML in
your visible text output for a node then your page won't validate for
XHTML 1.0 Transitional. A fix for this is attached.
Replace the toHTML() function in PEAR/HTML/TreeMenu.php starting at line
616 (in version 1.18, the latest released version). The fix is the
//<![CDATA[ and //]]> as was done recently in HTML_QuickForm 3.2.3.
I'm working on wrapping my brain around CVS so I can submit directly.
Can you access the PEAR cvs using SubVersion?
--
matte - matte@arubanetworks.com
webmonkey / arubanetworks.com / airheads04.com / wi-fi-it.com