lib/heartml/rails/view_component_base.rb in heartml-1.0.0.beta13 vs lib/heartml/rails/view_component_base.rb in heartml-1.0.0.beta14
- old
+ new
@@ -14,9 +14,12 @@
super(view_context, &block)
end
def render_template_for(*) = call
+ # No escaping required for the rendered HTML
+ def maybe_escape_html(input) = input
+
module ClassMethods
def compile(*)
# no-op
end