diff --git a/components/motd.php b/components/motd.php index 60a48604f672ede7eecee7a9f54032cfc1559887..11ac8d1c12a38266ab3e810c9805ad2dfdc5b426 100644 --- a/components/motd.php +++ b/components/motd.php @@ -49,6 +49,7 @@ $body = str_replace("<li>", " * ", $body); $body = str_replace("</li>", "\n ", $body); $body = str_replace(" ", " ", $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);