openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 08515f60c8a5cda71b8aa60e48c6731a23747d86
parent 55a11b0361883d2e96d42a335b8e555086c0819b
Author: dankert <devnull@localhost>
Date:   Sat, 20 Jan 2007 17:52:44 +0100

Neben image://... auch img://... zulassen.

Diffstat:
textClasses/DocumentElement.class.php | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/textClasses/DocumentElement.class.php b/textClasses/DocumentElement.class.php @@ -576,7 +576,7 @@ class DocumentElement extends AbstractElement $text = ereg_replace( '([A-Za-z0-9._-]+@[A-Za-z0-9\.\_\-]+)([^A-Za-z0-9\.\_\-\"])','"\\1"->"mailto:\\1"\\2',$text ); // Bilder - $text = ereg_replace( 'image:\/?\/?([A-Za-z0-9\.\:\_\/\,\?\=\&-]+)','{\\1}',$text ); + $text = ereg_replace( 'ima?ge?:\/?\/?([A-Za-z0-9\.\:\_\/\,\?\=\&-]+)','{\\1}',$text ); return $text; }