# File lib/html5/treebuilders/rexml.rb, line 19 def appendChild node if node.kind_of?(TextNode) && childNodes.length > 0 && childNodes.last.kind_of?(TextNode) childNodes.last.rxobj.value = childNodes.last.rxobj.to_s + node.rxobj.to_s childNodes.last.rxobj.raw = true else childNodes.push node rxobj.add node.rxobj end node.parent = self end