Skip to content

Commit

Permalink
style: immutable constant
Browse files Browse the repository at this point in the history
  • Loading branch information
DirtyF committed Oct 26, 2018
1 parent c89a39f commit 3f4f491
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jekyll-feed/generator.rb
Expand Up @@ -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
Expand Down

0 comments on commit 3f4f491

Please sign in to comment.