From: "Mark J. Reed" Date: 2003-07-15T11:50:38+09:00 Subject: Re: ruby-specific CGI question (I think) On Tue, Jul 15, 2003 at 11:43:28AM +0900, Mark J. Reed wrote: > def fix_form(cgi, *args, &block) > return cgi.form(*args, &block).gsub(/<\/?fieldset[^>]*/i, '') > end Note, however, that this will remove *all*
tags in the form, so if you actually have legitimate uses for them, this isn't the way to go. You would need to make a smarter munger in that case. -Mark