Same question here, because this looks awful. :p
Actually, I solved the problem, you have to add strip_tags()
to the 'caption'
and 'description'
rows in fb-social-publisher.php.
So from this:
'caption' => apply_filters( 'the_excerpt', get_the_excerpt() ),
'description' => fb_strip_and_format_desc( $post ),
you’ll get this at 6 occurrences:
'caption' => strip_tags( apply_filters( 'the_excerpt', get_the_excerpt() ) ),
'description' => strip_tags( fb_strip_and_format_desc( $post ) ),
Don’t forget the ‘)’-s before the commas. 🙂
I still couldn’t fix that hyphens are not to be converted to #&8211;
in the published post.
Thank you for your solution. It works fine
Note : Facebook is also preparing a fix for next version of the extension (see this message).
Thanks @agig112! Would you mind contributing the code to https://github.com/facebook/wordpress?
How do you get hyphens to show as #&8211;? They work fine on my site
@agig112 thank you so much! I am not technical at all but I managed to follow your fix and it workes!!!
thanks, you’re ace.
worked perfectly!
ALSO, to *stop thee weird #&8211;* you can use this character:
“−”
do not use this character:
“-” (yes, it’s different! this one fails while the top one works)
Yes, I figured this out too, you have to paste special characters directly in the title and the beginning of the post. From here (Column “Display”).