From c3d0d94e6d60d83f293700c4ed8713d8b5536001 Mon Sep 17 00:00:00 2001
From: Denis Walker <dez@sucs.org>
Date: Tue, 24 Aug 2010 23:47:24 +0000
Subject: [PATCH] Adds support for &hellip; to the MOTD generator

---
 components/motd.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/components/motd.php b/components/motd.php
index ecffa7b..272f228 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("&nbsp;", " ", $body);
+$body = str_replace("&hellip;", "...", $body);
 // remove hyperlinks, collect to display later
 $body = preg_replace(":<a href=['\"](.+?)['\"].*?>(.*?)</a>:e", "'\\2['.linkcounter('\\1').']'", $body);
 $body = strip_tags($body);
-- 
GitLab