summaryrefslogtreecommitdiffstats
path: root/code/bbcode.inc.php
diff options
context:
space:
mode:
authorneoraider <devnull@localhost>2006-05-27 19:14:03 +0200
committerneoraider <devnull@localhost>2006-05-27 19:14:03 +0200
commit0201d0d0373c514f273ca6f1a7503eef2dbeb87c (patch)
treeba0cd8094c7e30b1fcbb34ebb185888899c64ba3 /code/bbcode.inc.php
parent5baebf61ac2f8d0ca060373a3709fc6698afd70b (diff)
downloadbbcode-0201d0d0373c514f273ca6f1a7503eef2dbeb87c.tar
bbcode-0201d0d0373c514f273ca6f1a7503eef2dbeb87c.zip
Kleine ?nderung am BBCode-Parser.
Diffstat (limited to 'code/bbcode.inc.php')
-rw-r--r--code/bbcode.inc.php4
1 files 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];
}