2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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]",