mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-06-05 09:14:02 -04:00
fix(markdown extensions): Rename tag name allow list method name
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
parent
7a9951e351
commit
afe35ca164
10 changed files with 14 additions and 14 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* SPDX-FileCopyrightText: 2021 The HedgeDoc developers (see AUTHORS file)
|
||||
* SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
|
||||
*
|
||||
* SPDX-License-Identifier: AGPL-3.0-only
|
||||
*/
|
||||
|
@ -28,7 +28,7 @@ export class GistMarkdownExtension extends MarkdownExtension {
|
|||
return [new CustomTagWithIdComponentReplacer(GistFrame, GistMarkdownExtension.tagName)]
|
||||
}
|
||||
|
||||
public buildTagNameWhitelist(): string[] {
|
||||
public buildTagNameAllowList(): string[] {
|
||||
return [GistMarkdownExtension.tagName]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue