Skip to content
Snippets Groups Projects
Commit 7d206903 authored by Thomas Lake's avatar Thomas Lake :wrench:
Browse files

Fix ' in motd

parent c1d25009
No related branches found
No related tags found
No related merge requests found
......@@ -49,6 +49,7 @@ $body = str_replace("<li>", " * ", $body);
$body = str_replace("</li>", "\n ", $body);
$body = str_replace("&nbsp;", " ", $body);
$body = str_replace("&hellip;", "...", $body);
$body = str_replace("&apos;", "'", $body);
// remove hyperlinks, collect to display later
$body = preg_replace(":<a href=['\"](.+?)['\"].*?>(.*?)</a>:e", "'\\2['.linkcounter('\\1').']'", $body);
$body = strip_tags($body);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment