mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-18 18:30:40 -07:00
Create a BlockBody class to decouple block body parsing from tags.
This commit is contained in:
committed by
Justin Li
parent
263e90e772
commit
73fcd42403
@@ -1,5 +1,5 @@
|
||||
module Liquid
|
||||
class Block < Tag
|
||||
class BlockBody
|
||||
def render_token_with_profiling(token, context)
|
||||
Profiler.profile_token_render(token) do
|
||||
render_token_without_profiling(token, context)
|
||||
|
||||
Reference in New Issue
Block a user