lib/heartml/fragment.rb in heartml-1.0.0.beta11 vs lib/heartml/fragment.rb in heartml-1.0.0.beta12

- old
+ new

@@ -43,10 +43,10 @@ new_attrs[new_key] = @component.evaluate_attribute_expression(attr, v2) end attrs.delete(k) end attrs.merge!(new_attrs) - attrs.reject! { |k| k.start_with?("server-") || k.start_with?("iso-") || k.start_with?("host-") } + attrs.reject! { |k| k.start_with?("server-") || k.start_with?("iso-") } attrs.transform_keys! { _1.tr("-", "_").to_sym } obj = component.new(**attrs) render_output = if obj.respond_to?(:render_in) obj.render_in(@component.context, rendering_mode: :node) do