Quantcast
Channel: Rails atom_feed: How to add HTML tags like to the feed content? - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Joshua Muheim for Rails atom_feed: How to add HTML tags like to the...

As Kris pointed out in his comment, the content needs to be escaped: https://validator.w3.org/feed/docs/atom.html#textThe easiest thing to do this is just rendering a partial like...

View Article



Image may be NSFW.
Clik here to view.

Rails atom_feed: How to add HTML tags like to the feed content?

I want to structure the content of my Atom feed using headings:atom_feed do |feed| feed.title "#{Page.model_name.human(count: :other)} - #{t('app.name')}" feed.updated(@pages[0].created_at) if...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images