fix pm_snippet bug
This commit is contained in:
parent
a88f89a4aa
commit
ef125249b9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user