lib/onebox/sanitize_config.rb in onebox-1.9.17 vs lib/onebox/sanitize_config.rb in onebox-1.9.18

- old
+ new

@@ -33,10 +33,10 @@ 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['rel'] = 'nofollow noopener' + a_tag['rel'] = 'nofollow ugc noopener' else a_tag.remove_attribute('target') end end ],