mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-29 01:34:31 +01:00
broken unicode
This commit is contained in:
parent
21b81d08e1
commit
06e2cdc2b1
@ -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>';
|
||||
|
@ -50,7 +50,7 @@
|
||||
:
|
||||
'<em>no subject</em>'
|
||||
) .
|
||||
'<span class="unimportant"> — by ' .
|
||||
'<span class="unimportant"> — by ' .
|
||||
$news['name'] .
|
||||
' at ' .
|
||||
date($config['post_date'], $news['time']) .
|
||||
@ -67,4 +67,4 @@
|
||||
}
|
||||
};
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user