From 8017548bd0b3c33d555f667c94a6832ca6c82b8f Mon Sep 17 00:00:00 2001 From: Anatol Broder Date: Tue, 17 Sep 2013 20:46:01 +0200 Subject: [PATCH] Rename variable --- lib/jekyll/tags/include.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/jekyll/tags/include.rb b/lib/jekyll/tags/include.rb index c062f0e2..143555c8 100644 --- a/lib/jekyll/tags/include.rb +++ b/lib/jekyll/tags/include.rb @@ -57,8 +57,8 @@ eos end def validate_params - full_VALID_SYNTAX = Regexp.compile('\A\s*(?:' + VALID_SYNTAX.to_s + '(?=\s|\z)\s*)*\z') - unless @params =~ full_VALID_SYNTAX + full_valid_syntax = Regexp.compile('\A\s*(?:' + VALID_SYNTAX.to_s + '(?=\s|\z)\s*)*\z') + unless @params =~ full_valid_syntax raise SyntaxError.new <<-eos Invalid syntax for include tag: