# File htree/encoder.rb, line 66
    def output_dynamic_text(string)
      output_text(string.to_s.gsub(/[&<>]/) { TextChRef[$&] })
    end