Commit eaf5f2e0 authored by drumm's avatar drumm

#49299 by wtanaka, properly break words

parent 3a135f7c
......@@ -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')));
}
......
......@@ -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')));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment