aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_posting.php
diff options
context:
space:
mode:
authorLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-05-18 23:27:01 +0000
committerLudovic Arnaud <ludovic_arnaud@users.sourceforge.net>2003-05-18 23:27:01 +0000
commite2d5fcdda9eb687934412be0361377801fcaaacd (patch)
treecd55454c97b85944b235be84958e04bf6daadab2 /phpBB/includes/functions_posting.php
parent4ae5f981b597fa6f5417f8ac1077f015d8b03bd3 (diff)
downloadforums-e2d5fcdda9eb687934412be0361377801fcaaacd.tar
forums-e2d5fcdda9eb687934412be0361377801fcaaacd.tar.gz
forums-e2d5fcdda9eb687934412be0361377801fcaaacd.tar.bz2
forums-e2d5fcdda9eb687934412be0361377801fcaaacd.tar.xz
forums-e2d5fcdda9eb687934412be0361377801fcaaacd.zip
decode_text() will strip [/*:m] tags
git-svn-id: file:///svn/phpbb/trunk@4015 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_posting.php')
-rw-r--r--phpBB/includes/functions_posting.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions_posting.php b/phpBB/includes/functions_posting.php
index 4c45cc2aa1..7ae621ed6e 100644
--- a/phpBB/includes/functions_posting.php
+++ b/phpBB/includes/functions_posting.php
@@ -97,6 +97,7 @@ function decode_text(&$message, $bbcode_uid)
$search = array(
'<br />',
+ "[/*:m:$bbcode_uid]",
":u:$bbcode_uid",
":o:$bbcode_uid",
":$bbcode_uid"
@@ -105,6 +106,7 @@ function decode_text(&$message, $bbcode_uid)
"\n",
'',
'',
+ '',
''
);
$message = str_replace($search, $replace, $message);