FEATURE: Whitelist div[data-theme-*] (#5598)
* Whitelist div[data-theme-*] Whitelisting data attributes on <div> elements that match [data-theme-*] allows theme authors to target elements in posts and not have those attributes sanitized. https://meta.discourse.org/t/79520/16 * Update white-lister.js.es6
This commit is contained in:
parent
498cc15aa9
commit
afdc559f4f
|
@ -137,6 +137,7 @@ const DEFAULT_LIST = [
|
|||
'div.quote-controls',
|
||||
'div.title',
|
||||
'div[align]',
|
||||
'div[data-theme-*]',
|
||||
'div[dir]',
|
||||
'dl',
|
||||
'dt',
|
||||
|
|
Loading…
Reference in New Issue