summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 21:06:39 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-10-10 21:06:39 +1100
commit85d37a55c31c7c69eef80f0395d5355b8b511042 (patch)
treeaa9bbbc5b31adc3686c14f37e900a332d645eac7 /inc/display.php
parentbf803e5d5883f36f7391b248e32cf5f568d99ce7 (diff)
remove the retard function html_entity_decode_utf8(). not sure why seisatsu added it in the first place.
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);