Support » Plugin: Collapsing Archives » fails validation

  • zhinjio

    (@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…

    </a>
          </li> <!-- close month -->
      </ul>
         </div>
      </li> <!-- end year -->

    Thoughts?

    https://wordpress.org/plugins/collapsing-archives/

Viewing 1 replies (of 1 total)
  • zhinjio

    (@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.