Found this while validating my img_assist generated code on img_assist.module, line 659:
$view = "
filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\">";
It should read:
$view = "
filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\" />";
Please note the closing of the img tag to make it xhtml compliant, as all the other img tags in the file are.
Kevin
Comments
Comment #1
iokevins commentedThe code did not come through properly. Take two.
Old:
$view = "<img src=\"".file_create_url($image['thumbnail']->filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\">";New:
$view = "<img src=\"".file_create_url($image['thumbnail']->filepath)."\" width=\"$w\" height=\"$h\" title=\"". $image['thumbnail']->title. "\" />";Comment #2
benshell commentedI'm the new maintainer of img_assist, but I can only support img_assist for Drupal 4.7+. As far as I know the tags generated by the new version are valid XHTML.