Skip to content

Commit

Permalink
Fix truncation issue by no longer using HTML entities for Unicode cha…
Browse files Browse the repository at this point in the history
…racters
  • Loading branch information
Fredrick committed Mar 17, 2013
1 parent 64ae123 commit 53f7100
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 53f7100

Please sign in to comment.