aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2013-06-15 10:07:11 -0700
committerParker Moore <parkrmoore@gmail.com>2013-06-15 10:07:11 -0700
commit0e2bff13363d24dd9d7cdab3503b1c8bdfc5111f (patch)
tree3fb9f497feecb6122341487af822eda43ea82eab
parent84ee8d0d8a38a16bda968a6ae3030a61f045c31c (diff)
parent3cac6b9a16cc0527661ca2de59977cac3bbede6e (diff)
downloadmy_new_personal_website-0e2bff13363d24dd9d7cdab3503b1c8bdfc5111f.tar.xz
my_new_personal_website-0e2bff13363d24dd9d7cdab3503b1c8bdfc5111f.zip
Merge pull request #1282 from myoung34/gist-fix
The gist hashes have changed. They include letters now
Diffstat (limited to '')
-rw-r--r--plugins/gist_tag.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gist_tag.rb b/plugins/gist_tag.rb
index 2549ea7a..16203450 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)