lib/carte/server/views/cards.builder in carte-server-0.0.13 vs lib/carte/server/views/cards.builder in carte-server-0.0.14
- old
+ new
@@ -6,10 +6,10 @@
xml.description config['description']
xml.link "http://#{request.host}/"
@cards.each do |card|
xml.item do
xml.title(card.title)
- xml.description card.content
+ xml.description markdown2html(card.content)
xml.link("http://#{request.host}/#/#{URI.escape(card.title)}")
xml.pubDate card.updated_at.rfc822
xml.guid({isPermaLink: false}, "http://#{request.host}/#/#{URI.escape(card.title)}##{card.updated_at.to_i}")
end
end