From: Justin Bailey Date: 2006-04-27T08:24:56+09:00 Subject: Re: Magic Quotes in Ruby? ------=_Part_24845_7613650.1146093893890 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Not really - use CGI.escapeHTML(str) and you are all set. On 4/26/06, Nathan Olberding wrote: > > Luke Blanshard wrote: > > I'm guessing this is really an escaping problem. You're trying to > > generate html without doing any escaping? Try viewing the source of > > your generated page -- the quotes are no doubt all there just as you > > output them, but they're probably interfering with html attributes. > > Well, I'm glad you're paying attention to the obvious things, because I > don't seem to! > > Yes, it's an HTML escaping problem. Hmm... this might take a while to > clear up. > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_24845_7613650.1146093893890--