mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Added safe_wrap (escaping markdown and textile) to cached gists. Closes #917
This commit is contained in:
parent
418ed0cbcf
commit
8c0aa043fe
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user