Les descriptions acceptent maintenant des titres h1, h2, h3 et h4

This commit is contained in:
echarp 2015-01-10 14:37:56 +01:00
parent 7335b511a9
commit e612c2df1a
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ GEM
method_source (0.8.2) method_source (0.8.2)
mime-types (2.4.3) mime-types (2.4.3)
mini_portile (0.6.2) mini_portile (0.6.2)
minitest (5.5.0) minitest (5.5.1)
modernizr-rails (2.7.1) modernizr-rails (2.7.1)
multi_json (1.10.1) multi_json (1.10.1)
multipart-post (2.0.0) multipart-post (2.0.0)

View File

@ -81,7 +81,7 @@
%h3= t '.description' %h3= t '.description'
.description .description
= description sanitize @event.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) attributes: %w(href src width height style)
%h3= t '.infos' %h3= t '.infos'