$template = $this->printthread ? 'bbcode_quote_printthread' : 'bbcode_quote'; eval('$html = "' . fetch_template($template) . '";');
// run the censor $text = fetch_censored_text($message); $has_img_tag = ($do_bbcode ? $this->contains_bbcode_img_tags($text) : 0); if ($has_img_tag) { $message = preg_replace('#\[img\]\s*(https?://([^<>*"]+|[a-z0-9/\\._\- !]+))\[/img\]#iUe', "handle_bbcode_url('\\1', '', 'url')", $message); }