Browse Source

The gist hashes have changed. They include letters now

unreleased_contents
Marcus Young 12 years ago
parent
commit
3cac6b9a16
  1. 2
      plugins/gist_tag.rb

2
plugins/gist_tag.rb

@ -21,7 +21,7 @@ module Jekyll
end end
def render(context) def render(context)
if parts = @text.match(/([\d]*) (.*)/) if parts = @text.match(/([a-zA-Z\d]*) (.*)/)
gist, file = parts[1].strip, parts[2].strip gist, file = parts[1].strip, parts[2].strip
script_url = script_url_for gist, file script_url = script_url_for gist, file
code = get_cached_gist(gist, file) || get_gist_from_web(gist, file) code = get_cached_gist(gist, file) || get_gist_from_web(gist, file)

Loading…
Cancel
Save