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
1 changed files with 1 additions and 2 deletions

View File

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