It has to do with the regex in line 160 in pathologic.module:
return preg_replace_callback('~(href|src|action|longdesc)="([^"]+)~i', '_pathologic_replace', $text);
Here is the source code that is being misinterpreted:
<div class="fb-like fb_edge_widget_with_comment fb_iframe_widget" data-send="true" data-layout="button_count" data-show_faces="false" data-width="150" data-action="like" data-font="verdana" data-colorscheme="light" fb-xfbml-state="rendered">
What happens is that 'data-action="like"' is replaced with 'data-action="/like"', and the Facebook JS code complains that the action ("/like") is unknown.
Comments
Comment #1
Garrett Albright CreditAttribution: Garrett Albright commentedaklump, I just pushed a fix to address this. Please have a look at the latest dev release and let me know if this fixes the issue for you.
Comment #2
hansfn CreditAttribution: hansfn commentedI can confirm that commit a378c74 fixes the problem.
Comment #3
Garrett Albright CreditAttribution: Garrett Albright commented