Now that there exists the options "Add views row classes" and "Add stripping (odd/even), first/last row classes" after unchecking both in the HTML list format, the resulting markup will be:

  ...
  <li class="">...</li>
  ...

The following patch will fix that at the template level.

HTH

PS: This should be extended to the rest of the templates that don't take this into account.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MyXelf’s picture

Status: Active » Needs review
FileSize
593 bytes

Attaching the patch...

computerbarry’s picture

I was having the same problem. This patch has fixed everything for me, thank you!

Just wondering if this will be added to the next release?
I'm using 7.x-3.10

Thanks, Barry

Chris Matthews’s picture

@computerbarry, in order for the patch in #1 to views-view-list.tpl.php to be included in a full release the patch first has to be committed, but before the patch can be committed it has to be officially 'Reviewed & tested by the community' (RTBC).