FIX: pretty text allow list (#10977)

Reword whitelist to allowlist in pretty-text.
This library is used by plugins so we need deprecation notice.
This commit is contained in:
Krzysztof Kotlarek
2020-10-28 13:22:06 +11:00
committed by GitHub
parent 632942e697
commit dbec3792b7
21 changed files with 315 additions and 272 deletions

View File

@ -138,7 +138,7 @@ function closeBuffer(buffer, state, text) {
}
export function setup(helper) {
helper.whiteList([
helper.allowList([
"span.discourse-local-date",
"span[data-*]",
"span[aria-label]",