diff options
| author | Michael <savetheinternet@tinyboard.org> | 2013-03-17 04:13:13 -0700 |
|---|---|---|
| committer | Michael <savetheinternet@tinyboard.org> | 2013-03-17 04:13:13 -0700 |
| commit | 31a21a59575f1306014c4069bce10b5e5a92a7c8 (patch) | |
| tree | abc7ce642abb74a93baaea6968482f1af57a41af | |
| parent | 64ae123739c39567447bfc16fc95deb556786671 (diff) | |
| parent | 53f710060d1437f89291f26b10397a9c6c8bf4d2 (diff) | |
Merge pull request #102 from ctrlcctrlv/master
Fix truncation issues once and for all
| -rw-r--r-- | inc/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php index 16b16901..cd079141 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1494,7 +1494,7 @@ function markup(&$body, $track_cites = false) { } function utf8tohtml($utf8) { - return mb_encode_numericentity(htmlspecialchars($utf8, ENT_NOQUOTES, 'UTF-8'), array(0x80, 0xffff, 0, 0xffff), 'UTF-8'); + return htmlspecialchars($utf8, ENT_NOQUOTES, 'UTF-8'); } function buildThread($id, $return=false, $mod=false) { |
