Revert "Cache converter in renderer" (#7326)

Merge pull request 7326
This commit is contained in:
Ashwin Maroli 2018-10-20 01:59:14 +05:30 committed by jekyllbot
parent 5925c1a531
commit c7a99f276c
2 changed files with 9 additions and 12 deletions

View File

@ -106,7 +106,6 @@
* Drop support for pygments as syntax-highlighter (#7118) * Drop support for pygments as syntax-highlighter (#7118)
* Add Cache class (#7169) * Add Cache class (#7169)
* Cache converted markdown (#7159) * Cache converted markdown (#7159)
* Cache converter in renderer (#7183)
* Ignore cache directory (#7184) * Ignore cache directory (#7184)
### Development Fixes ### Development Fixes

View File

@ -96,7 +96,6 @@ module Jekyll
# #
# Returns String the converted content. # Returns String the converted content.
def convert(content) def convert(content)
Jekyll::Cache.new("Jekyll::Renderer").getset(content) do
converters.reduce(content) do |output, converter| converters.reduce(content) do |output, converter|
begin begin
converter.convert output converter.convert output
@ -109,7 +108,6 @@ module Jekyll
end end
end end
end end
end
# Render the given content with the payload and info # Render the given content with the payload and info
# #