summaryrefslogtreecommitdiff
path: root/modules/forum.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/forum.module')
-rw-r--r--modules/forum.module4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/forum.module b/modules/forum.module
index 785aab416..9c4cbf573 100644
--- a/modules/forum.module
+++ b/modules/forum.module
@@ -1081,6 +1081,10 @@ function theme_forum_topic_navigation($node) {
if ($prev) {
$output .= l(t('‹ ') . $prev->title, 'node/'. $prev->nid, array('class' => 'topic-previous', 'title' => t('Go to previous forum topic')));
}
+ if ($prev && $next) {
+ // Word break (a is an inline element)
+ $output .= ' ';
+ }
if ($next) {
$output .= l($next->title . t(' ›'), 'node/'. $next->nid, array('class' => 'topic-next', 'title' => t('Go to next forum topic')));
}