From 3cac6b9a16cc0527661ca2de59977cac3bbede6e Mon Sep 17 00:00:00 2001 From: Marcus Young Date: Sat, 15 Jun 2013 12:58:52 -0400 Subject: [PATCH] The gist hashes have changed. They include letters now --- plugins/gist_tag.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb index 2549ea7..1620345 100644 --- a/plugins/gist_tag.rb +++ b/plugins/gist_tag.rb @@ -21,7 +21,7 @@ module Jekyll end def render(context) - if parts = @text.match(/([\d]*) (.*)/) + if parts = @text.match(/([a-zA-Z\d]*) (.*)/) gist, file = parts[1].strip, parts[2].strip script_url = script_url_for gist, file code = get_cached_gist(gist, file) || get_gist_from_web(gist, file)