La description des événements n'est plus rendue par markdown (qui était plutôt inutile étant donné tinymce)

This commit is contained in:
echarp 2014-10-26 17:13:19 +01:00
parent c5d852ed4b
commit b6238ad910

View File

@ -61,8 +61,7 @@
%h3=t '.description' %h3=t '.description'
.description .description
- markdown = Redcarpet::Markdown.new(Redcarpet::Render::HTML, autolink: true, tables: true) = description sanitize @event.description,
= description sanitize markdown.render(@event.description),
tags: %w(p br table tr th td ul ol li a strong b em i img), tags: %w(p br table tr th td ul ol li a strong b em i img),
attributes: %w(href src width height style) attributes: %w(href src width height style)