function generate_op_autoescape($details, &$body) { $old_autoescape = self::$autoescape; self::$autoescape = strtolower($details['value']) == 'on'; $this->generate_op_code($details['body'], $body); self::$autoescape = $old_autoescape; }