Corrections sur le flux pour validation
This commit is contained in:
parent
6406c4b1d0
commit
666c3ff32b
|
@ -34,7 +34,7 @@ xml.rdf :RDF, 'xmlns:rdf' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
|
||||||
content = render file: '/events/show.html', locals: { rss: true }
|
content = render file: '/events/show.html', locals: { rss: true }
|
||||||
|
|
||||||
xml.description strip_tags content
|
xml.description strip_tags content
|
||||||
xml.content(:encoded) { xml.cdata! content }
|
xml.content(:encoded) { xml.cdata! content.to_s }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue