From 0201d0d0373c514f273ca6f1a7503eef2dbeb87c Mon Sep 17 00:00:00 2001 From: neoraider Date: Sat, 27 May 2006 17:14:03 +0000 Subject: Kleine ?nderung am BBCode-Parser. --- code/bbcode.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/bbcode.inc.php b/code/bbcode.inc.php index b5e0b05..d1cbe0b 100644 --- a/code/bbcode.inc.php +++ b/code/bbcode.inc.php @@ -74,9 +74,9 @@ if($found) continue; - if(!preg_match('(^([^\[]*)\[(.*)$)s', $data, $match)) break; + if(!preg_match('(^([^\[]*\[)(.*)$)s', $data, $match)) break; - $out .= $match[1] . '['; + $out .= $match[1]; $data = $match[2]; } -- cgit v1.2.3