From: Abinoam P. Marques Jr Date: Sun, 12 Feb 2012 20:00:23 +0000 (-0800) Subject: Added support for [ol] standard ordered list bbcode. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6a17a3a8e249a11b55122de92f999876860b2b6f;p=friendica.git Added support for [ol] standard ordered list bbcode. --- diff --git a/include/bbcode.php b/include/bbcode.php index 5d9665be56..7133a1a34d 100755 --- a/include/bbcode.php +++ b/include/bbcode.php @@ -126,6 +126,8 @@ function bbcode($Text,$preserve_nl = false) { ,$Text); $Text = preg_replace("/\[list=\](.*?)\[\/list\]/ism", '' ,$Text); $Text = preg_replace("/\[list=1\](.*?)\[\/list\]/ism", '' ,$Text); + $Text = preg_replace("/\[ol\](.*?)\[\/ol\]/ism", '' +,$Text); $Text = preg_replace("/\[list=((?-i)i)\](.*?)\[\/list\]/ism",'' ,$Text); $Text = preg_replace("/\[list=((?-i)I)\](.*?)\[\/list\]/ism", '