Hi, I have written an RSS builder template for my Rails app. Everything works great, but now I want to put some HTML code into the RSS Item description tag. Any idea on how to do that? It seems that Builder automatically escapes the string which messes up the HTML tags. Anyone has an example which uses HTML inside their RSS? Regards, Chris -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I am also very interested in how to do that. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jul 24, 10:22 am, Christian Ls <rails-mailing-l...-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> Hi, > > I have written an RSS builder template for my Rails app. Everything > works great, but now I want to put some HTML code into the RSS Item > description tag. > Any idea on how to do that? It seems that Builder automatically escapes > the string which messes up the HTML tags. >IIRC the << method on builder objects does not escape what you pass it. Fred> Anyone has an example which uses HTML inside their RSS? > > Regards, > > Chris > -- > Posted viahttp://www.ruby-forum.com/.--~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Seemingly Similar Threads
- how to get builder 2.0 to escape attributes in rxml
- mixing ebr and builder together and having it render as html in the browser
- RSS reader for rails application.
- resource_feeder feedback
- Re: RFE: virt-builder ability to print definition for single template (new option or expand --notes) (#20)