Is there an opposite to the function h()? or html()? Something that takes escaped html and turns it back into html? I suppose I could do it myself with a few gsubs, but i''d rather use a built-in function if there is one. This maybe obvious, but I''ve been looking and looking and can''t find anything. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Matthew Swasey wrote:> Is there an opposite to the function h()? or html()? > > Something that takes escaped html and turns it back into html?Perhaps CGI.unescapeHTML http://www.ruby-doc.org/core/classes/CGI.src/M000547.html -- We develop, watch us RoR, in numbers too big to ignore. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Excellent! Thank you. On Nov 2, 2007, at 8:00 AM, Mark Reginald James wrote:> > Matthew Swasey wrote: >> Is there an opposite to the function h()? or html()? >> >> Something that takes escaped html and turns it back into html? > > Perhaps CGI.unescapeHTML > > http://www.ruby-doc.org/core/classes/CGI.src/M000547.html > > > -- > We develop, watch us RoR, in numbers too big to ignore. > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---