function xbbcode_list_armor_nested in Extensible BBCode 6
Same name and namespace in other branches
- 5 xbbcode_list/xbbcode_list.module \xbbcode_list_armor_nested()
1 call to xbbcode_list_armor_nested()
- xbbcode_list_render in xbbcode_list/
xbbcode_list.module
File
- xbbcode_list/
xbbcode_list.module, line 58
Code
function xbbcode_list_armor_nested($text) {
$text = preg_replace('/(\\[list\\])(.*?)(\\[\\/list\\])(.*?)*/ie', 'xbbcode_list_armor_nested_("$1","$2","$3",$4")', $text);
$text = preg_replace('/(\\[ol\\])(.*?)(\\[\\/ol\\])(.*?)*/ie', 'xbbcode_list_armor_nested_("$1","$2","$3","$4")', $text);
$text = preg_replace('/(\\[ul\\])(.*?)(\\[\\/ul\\])(.*?)*/ie', 'xbbcode_list_armor_nested_("$1","$2","$3","$4")', $text);
return $text;
}