Add noreferrer value to rel attribute for external links

This commit is contained in:
Alfredo Sumaran 2016-04-20 23:55:06 -05:00
parent 2ade37e253
commit dbe06ac790
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ module Banzai
# Skip internal links
next if link.start_with?(internal_url)
node.set_attribute('rel', 'nofollow')
node.set_attribute('rel', 'nofollow noreferrer')
end
doc