Skip to content
Extraits de code Groupes Projets
Valider 9da68e24 rédigé par echarp's avatar echarp
Parcourir les fichiers

Corrections sur le flux pour validation

parent 666c3ff3
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -34,7 +34,11 @@ xml.rdf :RDF, 'xmlns:rdf' => "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
content = render file: '/events/show.html', locals: { rss: true }
xml.description strip_tags content
xml.content(:encoded) { xml.cdata! content.to_s }
xml.content(:encoded) {
xml.cdata! sanitize content,
tags: %w(p br table tr td ul ol li a strong b em i img),
attributes: %w(href src width height)
}
end
end
end
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter