From e612c2df1ad58bbbf0edcdb29041d85e6fe3f55f Mon Sep 17 00:00:00 2001 From: echarp Date: Sat, 10 Jan 2015 14:37:56 +0100 Subject: [PATCH] Les descriptions acceptent maintenant des titres h1, h2, h3 et h4 --- Gemfile.lock | 2 +- app/views/events/show.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b3122aaf..e0cdef72 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -256,7 +256,7 @@ GEM method_source (0.8.2) mime-types (2.4.3) mini_portile (0.6.2) - minitest (5.5.0) + minitest (5.5.1) modernizr-rails (2.7.1) multi_json (1.10.1) multipart-post (2.0.0) diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index 34756a03..96626efd 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -81,7 +81,7 @@ %h3= t '.description' .description = description sanitize @event.description, - tags: %w(p br table tr th td ul ol li a strong b em i img), + tags: %w(p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img), attributes: %w(href src width height style) %h3= t '.infos'