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
|
||||||
= description sanitize @event.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],
|
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
|
%h3
|
||||||
%em.fa.fa-info-circle
|
%em.fa.fa-info-circle
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
\
|
\
|
||||||
!= sanitize @note.contents.html_safe,
|
!= sanitize @note.contents.html_safe,
|
||||||
tags: %w[p br table tr td ul ol li a strong b em i img],
|
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'
|
!= t '.edit_link'
|
||||||
\
|
\
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
.description
|
.description
|
||||||
= description sanitize @orga.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],
|
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
|
%h3
|
||||||
%em.fa.fa-info-circle
|
%em.fa.fa-info-circle
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.description
|
.description
|
||||||
= sanitize event.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],
|
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?
|
- if @events_past.any?
|
||||||
%h2
|
%h2
|
||||||
|
|
Loading…
Reference in New Issue