Merge pull request #102 from ctrlcctrlv/master

Fix truncation issues once and for all
This commit is contained in:
Michael 2013-03-17 04:13:13 -07:00
commit 31a21a5957

View File

@ -1494,7 +1494,7 @@ function markup(&$body, $track_cites = false) {
} }
function utf8tohtml($utf8) { 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) { function buildThread($id, $return=false, $mod=false) {