Browse Source

„assets/javascripts/lib/discourse-markdown/allowlist.js.es6“ ändern

master
hape 3 years ago
parent
commit
f5235012ed
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      assets/javascripts/lib/discourse-markdown/allowlist.js.es6

+ 6
- 0
assets/javascripts/lib/discourse-markdown/allowlist.js.es6

@ -12,4 +12,10 @@ export function setup(helper) {
helper.allowList(["div[class]"]); helper.allowList(["div[class]"]);
helper.allowList(["span[class]"]); helper.allowList(["span[class]"]);
helper.allowList(["font[color]"]); helper.allowList(["font[color]"]);
helper.allowList(["info"]);
helper.allowList(["todo"]);
helper.allowList(["warn"]);
helper.allowList(["alert"]);
helper.allowList(["success"]);
helper.allowList(["msg"]);
} }

Loading…
Cancel
Save