dominic sisneros wrote:
> If you include ERB::Util then it includes html escape.  Use it in your
> templates like this
> 
> <%h=  puts "Some text with <characters>" %>

Could you give a longer example? I tried the following and didn't get 
what I expected...

   require 'erb'
   include ERB::Util

   @text = "something with <brackets> and \"quotes\""
   erb = ERB.new( "This is <%h= @text %>" )
   p erb.result
   #-> "This is "

- Jamis

-- 
Jamis Buck
jgb3 / email.byu.edu
http://www.jamisbuck.org/jamis

"I use octal until I get to 8, and then I switch to decimal."