lib/lifeform/phlex_renderable.rb in lifeform-0.10.0 vs lib/lifeform/phlex_renderable.rb in lifeform-0.11.0
- old
+ new
@@ -60,12 +60,10 @@
else ERB::Util.html_escape(value.to_s)
end
end
end
- def capture
- super.html_safe
- end
+ def capture = super.html_safe
# Trick ViewComponent into thinking we're a ViewComponent to fix rendering output
def set_original_view_context(view_context)
end
end