From: Abinoam P. Marques Jr Date: Mon, 13 Feb 2012 01:27:08 +0000 (-0800) Subject: Added [th] bbcode tag support. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=135005571f4cfe3170b2f2ce0ea94b39a75c111a;p=friendica.git Added [th] bbcode tag support. --- diff --git a/include/bbcode.php b/include/bbcode.php index 1d11f687de..9c70cb494a 100755 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -165,6 +165,7 @@ lower-alpha;">$2' ,$Text); $Text = preg_replace("/\[list=((?-i)A)\](.*?)\[\/list\]/ism", '' ,$Text); + $Text = preg_replace("/\[th\](.*?)\[\/th\]/sm", '$1' ,$Text); $Text = preg_replace("/\[td\](.*?)\[\/td\]/sm", '$1' ,$Text); $Text = preg_replace("/\[tr\](.*?)\[\/tr\]/sm", '$1' ,$Text); $Text = preg_replace("/\[table\](.*?)\[\/table\]/sm", '$1
' ,$Text);