Index: trunk/extensions/News/NewsRenderer.php |
— | — | @@ -665,10 +665,10 @@ |
666 | 666 | |
667 | 667 | if ( strlen($text) < NEWS_HEAD_LENGTH ) return $text; |
668 | 668 | |
669 | | - $suffix = "\n" . '... ([[' . $title->getPrefixedText() . ']]...)'; |
| 669 | + $suffix = ' [...[[' . $title->getPrefixedText() . ']]...]'; |
670 | 670 | |
671 | 671 | $t = preg_replace('/^(.*?)<!--\s*summary\s+end\s*-->.*$/si', '\1', $text); |
672 | | - if ($t != $text) return trim($t); |
| 672 | + if ($t != $text) return trim($t) . $suffix; |
673 | 673 | |
674 | 674 | if ( $t = NewsRenderer::cutHead($text, array("\r", "\n"), $suffix) ) return $t; |
675 | 675 | if ( $t = NewsRenderer::cutHead($text, array("."), $suffix) ) return $t; |