private function shouldReplaceSpecial($buffer)
    {
        return strpos($buffer, '<pre') !== false
            || strpos($buffer, '&lt;pre') !== false
            || strpos($buffer, '//') !== false;
    }