Hello there,
I use this in a php template :
<?php
$mdesc = htmlentities(strip_tags($this->element->product_description), ENT_QUOTES, 'UTF-8');
$mdesc =trim(str_replace(' ', ' ', $mdesc));
?>
{SCOpenGraph description=<?php echo $mdesc;?>}
All is ok. I see my description with special chars in Facebook.
But, at once I press ENTER somewhere in my product description, it stops to work. The default description come back.
An idea???
Joomla 3.2.1
JFBConnect 5.2.2