From 923246b3f9719f3fd9e18e57c20759705e8c5d7c Mon Sep 17 00:00:00 2001 From: Rob Garrison Date: Wed, 25 Oct 2017 15:29:57 -0500 Subject: [PATCH] Add rel="noreferrer noopener" to _blank links See https://twitter.com/iammerrick/status/914988292637990912 --- app/views/events/show.html.erb | 4 ++-- app/views/layouts/application.html.erb | 8 ++++---- app/views/shared/_event.html.erb | 2 +- app/views/shared/_markdown_help.html.erb | 2 +- app/views/shared/_person_edit_form.html.erb | 2 +- app/views/tuesday_mailer/send_newsletters.html.erb | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/app/views/events/show.html.erb b/app/views/events/show.html.erb index e13ed61..19c9aa9 100644 --- a/app/views/events/show.html.erb +++ b/app/views/events/show.html.erb @@ -41,8 +41,8 @@

<%= @event.starts_at.to_time.strftime('%b %d, %I:%M %p') %> – <%= @event.ends_at.to_time.strftime('%b %d, %I:%M %p') %>

-

<%= @event.address %>
-
More Info
+
<%= @event.address %>
+
More Info

<%= markdown .render(decorate_content_with_mentions(@event)) diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index d541617..8369848 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -144,16 +144,16 @@ <% end %> diff --git a/app/views/shared/_event.html.erb b/app/views/shared/_event.html.erb index a04b870..90b17a8 100644 --- a/app/views/shared/_event.html.erb +++ b/app/views/shared/_event.html.erb @@ -13,7 +13,7 @@ <% end %>

<%= link_to event_path(event) do %><%= event.title %><% end %>

-
<%= event.address %>
+
<%= event.address %>
<%= event.starts_at.to_time.strftime('%b %d, %I:%M %p') %> – <%= event.ends_at.to_time.strftime('%b %d, %I:%M %p') %>