diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-24 16:48:54 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-24 16:56:05 +0200 |
commit | 54909304287f3c04dcfb39660be8ead57dc95440 (patch) | |
tree | 478f1b913f3bd4c3bbaa17525f0114c5b0a8689d /shared/core-utils/renderer | |
parent | d0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (diff) | |
download | PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.tar.gz PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.tar.zst PeerTube-54909304287f3c04dcfb39660be8ead57dc95440.zip |
Remove suppressImplicitAnyIndexErrors
It's deprecated by TS
Diffstat (limited to 'shared/core-utils/renderer')
-rw-r--r-- | shared/core-utils/renderer/html.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/core-utils/renderer/html.ts b/shared/core-utils/renderer/html.ts index 877f2ec55..365bf7612 100644 --- a/shared/core-utils/renderer/html.ts +++ b/shared/core-utils/renderer/html.ts | |||
@@ -56,7 +56,7 @@ export function getCustomMarkupSanitizeOptions (additionalAllowedTags: string[] | |||
56 | export function escapeHTML (stringParam: string) { | 56 | export function escapeHTML (stringParam: string) { |
57 | if (!stringParam) return '' | 57 | if (!stringParam) return '' |
58 | 58 | ||
59 | const entityMap = { | 59 | const entityMap: { [id: string ]: string } = { |
60 | '&': '&', | 60 | '&': '&', |
61 | '<': '<', | 61 | '<': '<', |
62 | '>': '>', | 62 | '>': '>', |