More tags accepted in the orga and event description

This commit is contained in:
echarp 2017-05-06 16:15:38 +02:00
parent 3485a9b9c9
commit eb1f65d524
2 changed files with 4 additions and 4 deletions

View File

@ -91,8 +91,8 @@
%h3= t '.description'
.description
= description sanitize @event.description,
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)
tags: %w(p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup),
attributes: %w(href src width height style title)
%h3
%em.fa.fa-info-circle

View File

@ -75,8 +75,8 @@
%h3= t '.description'
.description
= description sanitize @orga.description,
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)
tags: %w(p h1 h2 h3 h4 br table tr th td ul ol li a strong b em i img sub sup),
attributes: %w(href src width height style title)
%dl
- if @orga.department.present?