class Hpricot::Text

def << str; self.content << str end

def << str; self.content << str end

def initialize content; self.content = content end

def initialize content; self.content = content end

def output(out, opts = {})

def output(out, opts = {})
  out <<
    if_output(opts) do
      content.to_s
    end
end

def pathname; "text()" end

def pathname; "text()" end

def pretty_print(q)

def pretty_print(q)
  q.text content.dump
end

def to_s

def to_s
  Hpricot.uxs(content)
end