diff --git a/assets/javascripts/lib/discourse-markdown/dropcaps.js b/assets/javascripts/lib/discourse-markdown/dropcaps.js index c83201b..3d6a2f3 100644 --- a/assets/javascripts/lib/discourse-markdown/dropcaps.js +++ b/assets/javascripts/lib/discourse-markdown/dropcaps.js @@ -3,5 +3,15 @@ export function setup(helper) { opts.features['dropcaps'] = true; //!!siteSettings.dropcaps_enabled; }); - helper.whiteList([ 'span.dropcaps', 'span.sclass' ]); + helper.allowList([ + 'div.alert', + 'div.alert.alert-silver', + 'div.alert.alert-info', + 'div.alert.alert-success', + 'div.alert alert-warning', + 'div.alert alert-error', + 'div.alert alert-danger', + 'span.dropcaps', + 'span.sclass' + ]); }