From ea641d43359ff050da0ee4b89004386429c51910 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 6 Oct 2011 23:26:07 +1100 Subject: [PATCH] broken unicode --- inc/display.php | 2 +- templates/themes/basic/theme.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inc/display.php b/inc/display.php index f544b88c..d5b78838 100644 --- a/inc/display.php +++ b/inc/display.php @@ -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 '' . utf8tohtml($body) . ''; diff --git a/templates/themes/basic/theme.php b/templates/themes/basic/theme.php index 5b086852..2a57fc69 100644 --- a/templates/themes/basic/theme.php +++ b/templates/themes/basic/theme.php @@ -50,7 +50,7 @@ : 'no subject' ) . - ' — by ' . + ' — by ' . $news['name'] . ' at ' . date($config['post_date'], $news['time']) . @@ -67,4 +67,4 @@ } }; -?> \ No newline at end of file +?>