summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php
index 74720de4..05f9aeec 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_utf8($body);
+ $body = html_entity_decode($body, ENT_NOQUOTES, 'UTF-8');
// calculate strlen() so we can add "..." after if needed
$strlen = strlen($body);