Rename options passed to Readability::Document back to whitelist and blacklist (#10340)

Rename options passed to Readability::Document back to whitelist and blacklist (#10340)

diff --git a/app/models/topic_embed.rb b/app/models/topic_embed.rb
index 26e0a05..575c537 100644
--- a/app/models/topic_embed.rb
+++ b/app/models/topic_embed.rb
@@ -124,8 +124,8 @@ class TopicEmbed < ActiveRecord::Base
       remove_empty_nodes: false
     }
 
-    opts[:allowlist] = SiteSetting.allowed_embed_selectors if SiteSetting.allowed_embed_selectors.present?
-    opts[:blocklist] = SiteSetting.blocked_embed_selectors if SiteSetting.blocked_embed_selectors.present?
+    opts[:whitelist] = SiteSetting.allowed_embed_selectors if SiteSetting.allowed_embed_selectors.present?
+    opts[:blacklist] = SiteSetting.blocked_embed_selectors if SiteSetting.blocked_embed_selectors.present?
     allowed_embed_classnames = SiteSetting.allowed_embed_classnames if SiteSetting.allowed_embed_classnames.present?
 
     response = FetchResponse.new

GitHub sha: 3d9eb3e0

This commit appears in #10340 which was approved by eviltrout. It was merged by scossar.