When I build a new views with fivestar widget, W3C give me error on validation (div into span element). To fix it please add into views/votingapi_views_handler_field_value.inc

  function element_type() {
    return 'div';
  }

This replace field container to DIV and page are correctly validated.

CommentFileSizeAuthor
#1 votingapi-867244.patch740 bytesmavimo

Comments

mavimo’s picture

StatusFileSize
new740 bytes

Patch attached.

eaton’s picture

Status: Active » Fixed

Committed to the D7 branch, will backport.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

bailz777’s picture

Has anyone actually got this patch to work?

I havent had any success with it... I wish I knew more about drupals workings so I could understand this better :(

I patched the votingapi module, but my did not chage into a