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.
The code generated for the iframe doesn't pass the w3 validator - apparently the width attribute is not supported:
Line 374, Column 94: general entity "width" not defined and no default entity
…//www.facebook.com/BoondockersWelcome&width=184&colorscheme=light&show_fac...…
✉
This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.
Removing the width param from the iframe makes no difference to the data returned, can probably just remove it.
Comments
Comment #1
skulegirl CreditAttribution: skulegirl commentedDuh. Guess I should actually read the error. Issue is obviously that ampersands in fb_likebox.tpl.php are not propertly encoded. Replacing all "&" with "
&
" reduces my number of errors in validation by about 20.Comment #2
drozas CreditAttribution: drozas commentedThanks skulegirl!,
I will revise the .tpl and perform the changes to have a w3 valid version.
Cheers,
David
Comment #3
drozas CreditAttribution: drozas commentedComment #4
drozas CreditAttribution: drozas commentedHello skulegirl,
I have updated the file templates/fb_likebox.tpl.php in the development branches for both: Drupal 6 and Drupal 7. The "&" symbol in the argument is now replaced by "& amp;", so it should pass the W3C validator now.
I will merge these changes into the new official release, but for the moment you can use the development version:
Thanks a lot for your feedback!.
Cheers,
David
Comment #5
drozas CreditAttribution: drozas commented