From: Phlip Date: 2005-04-30T04:49:29+09:00 Subject: Re: library for doing html escaping... Sean T Allen wrote: > ruby forge drives me crazy trying to find things... Sometimes what you seek was obvious to everyone else, so they didn't excessively document it. Sorry. > need a library that provides simple functionality of take a string and > doing html escaping > > " to " > & to & require 'cgi' .... def test_escapeHTML() scream = CGI::escapeHTML(">scream<") assert_equal(scream, '>scream<') end -- Phlip http://www.c2.com/cgi/wiki?ZeekLand