From 7538923358a21e3d857424ecb81c3dc61dc1446f Mon Sep 17 00:00:00 2001 From: neoraider Date: Fri, 22 Sep 2006 13:38:00 +0000 Subject: Alt-Attribut zum img-Tag hinzugef?gt. --- code/bbcode.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'code') diff --git a/code/bbcode.inc.php b/code/bbcode.inc.php index d1cbe0b..2696948 100644 --- a/code/bbcode.inc.php +++ b/code/bbcode.inc.php @@ -16,7 +16,7 @@ $color = array('starttag' => '\[color=([A-Za-z]+|#(?:[\dA-Fa-f]{3}){1,2}?|rgb\((?:100%|\d?\d%),(?:100%|\d?\d%),(?:100%|\d?\d%)\)|rgb\((?:1?\d?\d|2(?:[0-4]\d|5[0-5])),(?:1?\d?\d|2(?:[0-4]\d|5[0-5])),(?:1?\d?\d|2(?:[0-4]\d|5[0-5]))\))\]', 'endtag' => '\[/color\]', 'starthtml' => '', 'endhtml' => '', 'children' => array(&$b, &$u, &$i, &$color, &$img, &$url1, &$url2)); - $img = array('starttag' => '\[img\]([^\[]*)\[/img\]', 'starthtml' => ''); + $img = array('starttag' => '\[img\]([^\[]*)\[/img\]', 'starthtml' => ''); $url1 = array('starttag' => '\[url\]([^\[]*)\[/url\]', 'starthtml' => '$1)'); $url2 = array('starttag' => '\[url=([^\]]*)\]', 'endtag' => '\[/url\]', 'starthtml' => '', 'endhtml' => '', -- cgit v1.2.3