More tags accepted in the orga and event description

rails5
echarp 6 years ago
parent 3485a9b9c9
commit eb1f65d524
  1. 4
      app/views/events/show.html.haml
  2. 4
      app/views/orgas/show.html.haml

@ -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

@ -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?

Loading…
Cancel
Save