From a57459a14e1f052fb00a0cfe1dd1d7213ece371d Mon Sep 17 00:00:00 2001 From: Steven Wallace Date: Sat, 26 Nov 2016 12:43:05 -0600 Subject: [PATCH] Make content links open in a new tab --- app/views/content/show.html.erb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/content/show.html.erb b/app/views/content/show.html.erb index 7c05f93e..2021ce03 100644 --- a/app/views/content/show.html.erb +++ b/app/views/content/show.html.erb @@ -33,7 +33,8 @@ Redcarpet::Render::HTML.new( with_toc_data: true, safe_links_only: true, - filter_html: true + filter_html: true, + link_attributes: {target: '_blank'} ), autolink: true, tables: true,