broken unicode

This commit is contained in:
Savetheinternet 2011-10-06 23:26:07 +11:00
parent c1593be1c8
commit ea641d4335
2 changed files with 3 additions and 3 deletions

View File

@ -116,7 +116,7 @@
// Unescape HTML characters, to avoid splitting them in half
$body = html_entity_decode_utf8($body);
$body = substr($body, 0, $len) . (strlen($body) > $len ? '' : '');
$body = substr($body, 0, $len) . (strlen($body) > $len ? '…' : '');
// Re-escape the characters.
return '<em>' . utf8tohtml($body) . '</em>';

View File

@ -50,7 +50,7 @@
:
'<em>no subject</em>'
) .
'<span class="unimportant"> by ' .
'<span class="unimportant"> &mdash; by ' .
$news['name'] .
' at ' .
date($config['post_date'], $news['time']) .
@ -67,4 +67,4 @@
}
};
?>
?>