DEV: uses allowList instead of whiteList (#62)

DEV: uses allowList instead of whiteList (#62)

Co-authored-by: jjaffeux j.jaffeux@gmail.com

diff --git a/assets/javascripts/lib/discourse-markdown/spoiler-alert.js b/assets/javascripts/lib/discourse-markdown/spoiler-alert.js
index 264a64d..0b056a9 100644
--- a/assets/javascripts/lib/discourse-markdown/spoiler-alert.js
+++ b/assets/javascripts/lib/discourse-markdown/spoiler-alert.js
@@ -42,7 +42,7 @@ function setupMarkdownIt(helper) {
 }
 
 export function setup(helper) {
-  helper.whiteList(["span.spoiler", "div.spoiler"]);
+  helper.allowList(["span.spoiler", "div.spoiler"]);
 
   if (helper.markdownIt) {
     setupMarkdownIt(helper);

GitHub sha: d84610b5

1 Like

This commit appears in #62 which was merged by CvX.