Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Adding the like button makes the page XHTML invalid. In the meantime I changed the return from theme_fb_social_like_widget from
return '
';
to
return '
';
Comments
Comment #1
agraves CreditAttribution: agraves commentedForgot to add the code tags. I meant replacing
with
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedWondering if this is going to be fixed in the next release of this module (not beta)? Or has it already been fixed? What is the status of this fix?
Comment #3
ferdi CreditAttribution: ferdi commentedIf that's the right way to do it, we need to change some code on every sub module; for other widgets too. It needs to be a patch to be tested and reviewed by the community
Comment #4
hansrossel CreditAttribution: hansrossel commentedI can confirm that #1 fixes both validation issues:
The two errors from the http://validator.w3.org validator that are solved are:
Comment #5
davidnbrett CreditAttribution: davidnbrett commentedUsing the social like button in a view, I had to change fb_social_like_handler_field_like.inc from :
to
Thanks agraves !