fix(markdown extensions): Rename tag name allow list method name

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-09-02 22:52:50 +02:00
parent 7a9951e351
commit afe35ca164
10 changed files with 14 additions and 14 deletions

View file

@ -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]
}
}