summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 21:49:38 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 21:49:38 +1100
commitef125249b9a25e3a973b297db21457c78ad81124 (patch)
treecea1e8181fb1e22933a3f73e3f72758681f2d204
parenta88f89a4aab902deeb01ea7a6abad7c00daacdd1 (diff)
fix pm_snippet bug
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 05f9aeec..4377ea3c 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -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);