diff --git a/lib/rbexy/configuration.rb b/lib/rbexy/configuration.rb index ffb4de6..6f167c7 100644 --- a/lib/rbexy/configuration.rb +++ b/lib/rbexy/configuration.rb @@ -21,7 +21,7 @@ def transforms def component_rendering_templates @component_rendering_templates ||= { - children: "{capture{%{children}}}", + children: "{capture{%{children};nil}}", component: "::%{component_class}.new(%{view_context},%{kwargs}).render_in%{children_block}" } end