Commit 83e92e63 authored by Simon Welsh's avatar Simon Welsh

Cut extra ? off too

git-svn-id: svn+ssh://lsgn/var/logbot-www@31 5f99df0c-6b0a-442a-b40a-040688e84a9d
parent 1e226fca
......@@ -173,7 +173,7 @@ function linkify($string) {
} else {
$right = '';
}
if(in_array(substr($input, -1), ['.',','])) {
if(in_array(substr($input, -1), ['.',',','?'])) {
$right = substr($input, -1) . $right;
$input = substr($input, 0, -1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment