Added safe_wrap (escaping markdown and textile) to cached gists. Closes #917

This commit is contained in:
Brandon Mathis 2013-01-03 09:45:11 -06:00
parent 418ed0cbcf
commit 8c0aa043fe

View File

@ -55,7 +55,7 @@ module Jekyll
code = get_range(code, @options[:start], @options[:end])
code = highlight(code, @options)
end
cache || code
code || safe_wrap(cache)
else
"Gist formatting error, format should be {% gist gist_id [filename] %}"
end