/* Remove stuff in quotes */ while (preg_match('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', $body)) { $body = preg_replace('!<cite>(.*?)</cite><blockquote>(.*?)</blockquote>!is', '', $body); } $body = strip_tags($body); if (strlen($body) > $GLOBALS['MNAV_MAX_LEN']) { $body = mb_substr($body, 0, $GLOBALS['MNAV_MAX_LEN']) . '...'; } return $body; }
BTW, grabbed a png from the web so we can band-aid that one error from the logs and will check later. Thks, Ernesto, for the suggestion.