From e2d5fcdda9eb687934412be0361377801fcaaacd Mon Sep 17 00:00:00 2001 From: Ludovic Arnaud Date: Sun, 18 May 2003 23:27:01 +0000 Subject: [PATCH] decode_text() will strip [/*:m] tags git-svn-id: file:///svn/phpbb/trunk@4015 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_posting.php | 2 ++ 1 file changed, 2 insertions(+) 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( '
', + "[/*: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);