public static function getRssSummary($summary = '')
    {
        $summary = @html_entity_decode($summary, ENT_QUOTES, get_option('blog_charset'));
        $summary = esc_attr(wp_trim_words($summary, 50, ' [&hellip;]'));

        // Change existing [...] to [&hellip;].
        if ('[...]' == substr($summary, -5)) {
            $summary = substr($summary, 0, -5) . '[&hellip;]';
        }

        $summary = esc_html($summary);

        return $summary;
    }