public function callback($opcode, $subject, $offset, $length)
    {
        if ($opcode === 'd') {
            return;
        }

        if ($opcode === 'c') {
            return  htmlentities(substr($subject, $offset, $length));
        }

        return '<ins>'.htmlentities(substr($subject, $offset, $length)).'</ins>';
    }