Skip to content
Snippets Groups Projects
Commit c3d0d94e authored by Denis Walker's avatar Denis Walker
Browse files

Adds support for … to the MOTD generator

parent 4a691277
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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