public static function html_faq($text) { if (function_exists('is_text_html') && !is_text_html($text)) { return forum_text($text); } return $text; }
public static function is_text_html($text) { if (function_exists('is_text_html')) { return is_text_html($text); } return stripos($text, '<br') !== false || stripos($text, '<p>') !== false; }