diff --git a/lib/phlex/sgml.rb b/lib/phlex/sgml.rb index 648c0a97..fb616455 100644 --- a/lib/phlex/sgml.rb +++ b/lib/phlex/sgml.rb @@ -106,7 +106,7 @@ def call(buffer = +"", context: Phlex::Context.new, view_context: nil, parent: n end end - after_template + after_template(&block) end unless parent