From 535ec7b9ee81e609b12447c4939cc9ac61fe6f26 Mon Sep 17 00:00:00 2001 From: Will Cosgrove Date: Thu, 3 Oct 2024 15:33:42 -0500 Subject: [PATCH] Add block to `after_template` for consistency --- lib/phlex/sgml.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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