diff options
author | deva <deva> | 2008-10-12 08:55:05 +0000 |
---|---|---|
committer | deva <deva> | 2008-10-12 08:55:05 +0000 |
commit | 2fcc8a388b27747bb534f0beba18114720f9b899 (patch) | |
tree | 52fe5737c6f2c43982cfedb10f2f58db1dd84c9d /forum/utils/parser.php | |
parent | b3bfcb9e6f512b2074dc69bf1af148ec4f4973d4 (diff) |
Now files, forums and image cache create their storage dirs themselves, instead of createentities (when they do not already exists that is...)
Diffstat (limited to 'forum/utils/parser.php')
-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 b5a80b7..ecf8913 100644 --- a/forum/utils/parser.php +++ b/forum/utils/parser.php @@ -39,7 +39,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:\/\/(.*\.jpg|\.gif|\.png|\.jpeg)/", $imgstartmarker."$1".$imgendmarker, $output); + $output = preg_replace("/http:\/\/(.*\.jpg|.*\.gif|.*\.png|.*\.jpeg)/", $imgstartmarker."$1".$imgendmarker, $output); // Replace URLs with <a></a> tags $output = preg_replace("/http:\/\/(.*?)([\n ])/s", "<a href=\"http://$1\">$1</a>$2", $output); |