Skip to content

Commit

Permalink
Merge pull request #102 from ctrlcctrlv/master
Browse files Browse the repository at this point in the history
Fix truncation issues once and for all
  • Loading branch information
Michael committed Mar 17, 2013
2 parents 64ae123 + 53f7100 commit 31a21a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 31a21a5

Please sign in to comment.