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

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.


Duh. 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.

Thanks skulegirl!,

I will revise the .tpl and perform the changes to have a w3 valid version.



Assigned:Unassigned» drozas
Status:Active» Needs work

Hello 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!.



Status:Needs work» Closed (fixed)