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:
parent
632942e697
commit
dbec3792b7
21 changed files with 315 additions and 272 deletions
|
@ -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]",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue