Is there a Ruby library that does HTML entity parsing?

CGI.escapeHTML and CGI.unescapeHTML are my friends now :slight_smile:

-John
http://www.iunknown.com

···

________________________________

From: John Lam [mailto:jlam@iunknown.com]
Sent: Thu 4/28/2005 10:15 AM
To: ruby-talk ML
Subject: Is there a Ruby library that does HTML entity parsing?

Simple stuff like

mypage.htm?foo=abc&bar=1 => mypage.htm?foo=abc&bar=1

and its reverse?

Thanks
-John
http://www.iunknown.com