A platform for community discussion. Free, open, simple.
FEATURE: Whitelist div[data-theme-*] (#5598)
hnb-kuafdc559f4f4b
diff --git a/app/assets/javascripts/pretty-text/white-lister.js.es6 b/app/assets/javascripts/pretty-text/white-lister.js.es6index 4fd6e362954..6dd1523f53e 100644--- a/app/assets/javascripts/pretty-text/white-lister.js.es6+++ b/app/assets/javascripts/pretty-text/white-lister.js.es6@@ -137,6 +137,7 @@ const DEFAULT_LIST = ['div.quote-controls','div.title','div[align]',+ 'div[data-theme-*]','div[dir]','dl','dt',