diff options
Diffstat (limited to 'forum')
| -rw-r--r-- | forum/utils/parser.php | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/forum/utils/parser.php b/forum/utils/parser.php index e4a164e..c9872e5 100644 --- a/forum/utils/parser.php +++ b/forum/utils/parser.php @@ -41,7 +41,7 @@ function parse($input, $indent = "")    while(strpos($output, $imgendmarker)) $imgendmarker .= $imgendsymbol;    // Find and mark image URLs (so that they don't get converted into normal <a/> links) -  $output = preg_replace("/http:\/\/(\S*?\.jpg|\S*?\.gif|\S*?\.png|\S*?\.jpeg)/", $imgstartmarker."$1".$imgendmarker, $output); +  $output = preg_replace("/http:\/\/(\S*?\.JPG|\S*?\.jpg|\S*?\.gif|\S*?\.png|\S*?\.jpeg)/", $imgstartmarker."$1".$imgendmarker, $output);    // Replace URLs with <a></a> tags    $output = preg_replace("/http:\/\/(\S*?)([\n ]|$)/s", "<a href=\"http://$1\">$1</a>$2", $output);  | 
