Closed (duplicate)
Project:
FileField
Version:
6.x-3.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2009 at 17:29 UTC
Updated:
17 Mar 2010 at 19:34 UTC
I am getting an invalid XHTML error when I use the filefield in a view. I'm getting <div class="views-field-field-technote-file-fid"><span class="field-content"><div class="filefield-icon field-icon-application-pdf">... This results in an error with div nested inside a span.
According to http://drupal.org/node/369364#comment-1250483 Fields that have block elements need to set 'element type' to 'div' so that they won't get enclosed in spans. see views_handler_field::element_type()
Is FileField letting views know that it needs to be block instead of inline? If not, is there a way that I can add this?
Comments
Comment #1
quicksketchI know this issue was opened first, but let's consolidate with #744948: Views: Inline another field next to the FileField-column is impossible.