summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/display.php2
-rw-r--r--templates/themes/basic/theme.php4
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 '<em>' . utf8tohtml($body) . '</em>';
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 @@
:
'<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 @@
}
};
-?> \ No newline at end of file
+?>