jingquan
Member
Posted 1 month ago #
I'm stuck. I can't find this ul tag inside the php, you can see from the error it's missing a qoute for the id.
Line 446, Column 47: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
<h2 class="widgettitle">Categories</h2><ul id=widget-collapscat-2-collapsCatList>
Could anyone show me where can i add the qoutes back ("" or ''), thanks.
http://wordpress.org/extend/plugins/collapsing-categories/
miqrogroove
Member
Posted 1 month ago #
It seems to be causing several validation problems for me too.
miqrogroove
Member
Posted 1 month ago #
collapscatwidget.php line 19
echo "<ul id=" . $this->get_field_id('collapsCatList') . ">\n";
Change to
echo "<ul id=\"" . $this->get_field_id('collapsCatList') . "\">\n";
miqrogroove
Member
Posted 1 month ago #
Here is my workaround for the remaining issues (not compatible with multiple widget instances):
in collapscatwidget.php
Delete lines 19 & 25.
in collapscatlist.php
at line 307 (after defaults.php) add
echo "\n<ul id=\"collapsCatList\">\n";
at line 614 ...
// echo " </ul> <!-- ending collapsCat -->\n";
... change to
echo " </ul> <!-- ending collapsCat -->\n";
Front page is now valid.
Murielle
Member
Posted 3 weeks ago #
Thanks a lot
It works perfectly
I've been searching for awhile with no result...
And now it validates!