Authorising the name and id attributes in events' and orgas' description
This commit is contained in:
parent
6bda709b4f
commit
3888485356
@ -39,7 +39,7 @@
|
||||
.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 sub sup span],
|
||||
attributes: %w[href src width height style title]
|
||||
attributes: %w[href src width height style title name id]
|
||||
|
||||
%h3
|
||||
%em.fa.fa-info-circle
|
||||
|
@ -2,7 +2,7 @@
|
||||
\
|
||||
!= sanitize @note.contents.html_safe,
|
||||
tags: %w[p br table tr td ul ol li a strong b em i img],
|
||||
attributes: %w[href src width height]
|
||||
attributes: %w[href src width height name id]
|
||||
\
|
||||
!= t '.edit_link'
|
||||
\
|
||||
|
@ -29,7 +29,7 @@
|
||||
.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 sub sup span],
|
||||
attributes: %w[href src width height style title]
|
||||
attributes: %w[href src width height style title name id]
|
||||
|
||||
%h3
|
||||
%em.fa.fa-info-circle
|
||||
|
@ -25,7 +25,7 @@
|
||||
.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 sub sup span],
|
||||
attributes: %w[href src width height style title]
|
||||
attributes: %w[href src width height style title name id]
|
||||
|
||||
- if @events_past.any?
|
||||
%h2
|
||||
|
Loading…
Reference in New Issue
Block a user