lib/undies/api.rb in undies-3.0.0.rc.3 vs lib/undies/api.rb in undies-3.0.0

- old
+ new

@@ -1,7 +1,8 @@ require 'undies/element_node' require 'undies/element' +require 'undies/raw' module Undies module API @@ -69,10 +70,10 @@ define_method(tag){ |*args| open_element(tag, *args) } end # streaming methods - # Add a text node (data escaped) to the nodes of the current node + # Add a text node (data escaped) to the current node def _(data="") @_undies_io.current.text(self.class.escape_html(data.to_s)) end def __open_element(name, *args, &build)