diff --git a/components/motd.php b/components/motd.php index ecffa7b65ce73b3ba6e9e162fc81554bfa851e0b..272f2287cd093beb87d2d32f3f6f63b4af6ad8db 100644 --- a/components/motd.php +++ b/components/motd.php @@ -39,6 +39,7 @@ $body = str_replace("<br />", "\n ", $body); $body = str_replace("<li>", " * ", $body); $body = str_replace("</li>", "\n ", $body); $body = str_replace(" ", " ", $body); +$body = str_replace("…", "...", $body); // remove hyperlinks, collect to display later $body = preg_replace(":<a href=['\"](.+?)['\"].*?>(.*?)</a>:e", "'\\2['.linkcounter('\\1').']'", $body); $body = strip_tags($body);