lib/onebox/sanitize_config.rb in onebox-1.8.11 vs lib/onebox/sanitize_config.rb in onebox-1.8.12

- old
+ new

@@ -27,10 +27,9 @@ lambda do |env| next unless env[:node_name] == 'a' a_tag = env[:node] a_tag['href'] ||= '#' if a_tag['href'] =~ %r{^(?:[a-z]+:)?//} - a_tag['target'] = '_blank' a_tag['rel'] = 'nofollow noopener' else a_tag.remove_attribute('target') end end