diff --git a/app/lib/redcarpet/trusted_renderer.rb b/app/lib/redcarpet/trusted_renderer.rb index 850841135..afb2749f5 100644 --- a/app/lib/redcarpet/trusted_renderer.rb +++ b/app/lib/redcarpet/trusted_renderer.rb @@ -18,7 +18,7 @@ module Redcarpet } unless href.starts_with?('/') - html_options.merge!(title: new_tab_suffix(title), **external_link_attributes) + html_options.merge!(title: new_tab_suffix(content), **external_link_attributes) end content_tag(:a, content, html_options, false)