http://atutor.ca/atutor/mantis/view.php?id=3128 atutor_1_5_5
authorjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 2 Aug 2007 17:01:30 +0000 (17:01 -0000)
committerjoel kronenberg <joel.kronenberg@utoronto.ca>
Thu, 2 Aug 2007 17:01:30 +0000 (17:01 -0000)
docs/include/lib/output.inc.php

index 662747d..7be6bde 100644 (file)
@@ -657,7 +657,7 @@ function image_replace($text) {
        
        $text = eregi_replace("\[image(\|)?([[:alnum:][:space:]]*)\]" .
                                                 "[:space:]*" .
-                                                "([[:alnum:]#?/&=:\"'.-]+)" .
+                                                "([[:alnum:]#?/&=:\"'_.-]+)" .
                                                 "[:space:]*" .
                                                 "((\[/image\])|(.*\[/image\]))",
                                  "<img src=\"\\3\" alt=\"\\2\" />",