Fix #4066: Move Convertible#render_liquid to using render!

This commit is contained in:
Jordon Bedwell 2015-10-29 13:36:05 -05:00
parent a0f3860cfa
commit 0f4aed9ccf
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ module Jekyll
#
# Returns the converted content
def render_liquid(content, payload, info, path)
site.liquid_renderer.file(path).parse(content).render(payload, info)
site.liquid_renderer.file(path).parse(content).render!(payload, info)
rescue Tags::IncludeTagError => e
Jekyll.logger.error "Liquid Exception:", "#{e.message} in #{e.path}, included in #{path || self.path}"
raise e