lib/renderers/text.rb in garterbelt-0.0.9 vs lib/renderers/text.rb in garterbelt-0.1.0
- old
+ new
@@ -3,10 +3,10 @@
attr_accessor :content, :escape
def initialize(opts)
super
self.content = opts[:content] || ''
- self.escape = view.escape
+ self.escape = view._escape
end
def raise_with_block_content
raise ArgumentError, "#{self.class} does not take block content" if self.content.is_a?(Proc)
end