fix pm_snippet bug

This commit is contained in:
Savetheinternet 2011-10-10 21:49:38 +11:00
parent a88f89a4aa
commit ef125249b9

View File

@ -114,7 +114,7 @@
$body = strip_tags($body);
// Unescape HTML characters, to avoid splitting them in half
$body = html_entity_decode($body, ENT_NOQUOTES, 'UTF-8');
$body = html_entity_decode($body, ENT_COMPAT, 'UTF-8');
// calculate strlen() so we can add "..." after if needed
$strlen = strlen($body);