diff --git a/config/initializers/sanitize.rb b/config/initializers/sanitize.rb index d6a4ffa9..267b593a 100644 --- a/config/initializers/sanitize.rb +++ b/config/initializers/sanitize.rb @@ -1,7 +1,7 @@ EVIL_TAGS = { elements: %w(blockquote a p i strong em del pre code table tr td th br ul ol li hr), attributes: { - 'a' => %w(href) + 'a' => %w(href target) }, protocols: { 'a' => { 'href' => ['http', 'https', :relative] }