From b9cbce5e5f98d19963f0918356933e96f84bfd75 Mon Sep 17 00:00:00 2001 From: Daniel Grieve Date: Sun, 17 Mar 2013 15:04:03 +0000 Subject: [PATCH] fix regex --- lib/jekyll/tags/gist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jekyll/tags/gist.rb b/lib/jekyll/tags/gist.rb index 0b40a5fd..0d981af1 100644 --- a/lib/jekyll/tags/gist.rb +++ b/lib/jekyll/tags/gist.rb @@ -7,7 +7,7 @@ module Jekyll class GistTag < Liquid::Tag def render(context) - if tag_contents = @markup.strip.match(/\A(\d+) ?(\S*)\z/) + if tag_contents = @markup.strip.match(/\A(\d+) ?(\S*)\Z/) gist_id, filename = tag_contents[1].strip, tag_contents[2].strip gist_script_tag(gist_id, filename) else