diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index 9239e4af..11c51962 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -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)