diff --git a/lib/jekyll-feed/generator.rb b/lib/jekyll-feed/generator.rb index 4b3ce552..13684056 100644 --- a/lib/jekyll-feed/generator.rb +++ b/lib/jekyll-feed/generator.rb @@ -25,7 +25,7 @@ def generate(site) # 1. A '>', which closes an XML tag or # 2. A '}', which closes a Liquid tag # We will strip all of this whitespace to minify the template - MINIFY_REGEX = %r!(?<=>|})\s+! + MINIFY_REGEX = %r!(?<=>|})\s+!.freeze # Returns the plugin's config or an empty hash if not set def config