Support » Plugin: Collapsing Archives » fails validation

  • zhinjio


    This plugin seems to drop a closing ul on the list. Here’s the error that validator throws me:

    Line 737, Column 34: end tag for "ul" omitted, but OMITTAG NO was specified
      </li> <!-- close month --></div><!-- close year -->
    You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".

    whereas this is the format on a year end further up…

          </li> <!-- close month -->
      </li> <!-- end year -->


Viewing 1 replies (of 1 total)
  • zhinjio


    I made this change, and now it validates successfully. On line 425 of collapsArchList.php:

    /* $archives .= "  </li> <!-- close month --></div><!-- close year -->\n"; */
        $archives .= "  </li> <!-- close month --> </ul> </div> <!-- close year -->\n";

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘fails validation’ is closed to new replies.