diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index bced36f3..c0efacce 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -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 diff --git a/app/views/note_mailer/notify.text.haml b/app/views/note_mailer/notify.text.haml index e336e5c4..62a89acb 100644 --- a/app/views/note_mailer/notify.text.haml +++ b/app/views/note_mailer/notify.text.haml @@ -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' \ diff --git a/app/views/orgas/show.html.haml b/app/views/orgas/show.html.haml index f0491bf5..1d9bf63b 100644 --- a/app/views/orgas/show.html.haml +++ b/app/views/orgas/show.html.haml @@ -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 diff --git a/app/views/tags/show.html.haml b/app/views/tags/show.html.haml index b0123096..9cb26c89 100644 --- a/app/views/tags/show.html.haml +++ b/app/views/tags/show.html.haml @@ -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