aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/core-utils/renderer
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-24 16:48:54 +0200
committerChocobozzz <me@florianbigard.com>2023-05-24 16:56:05 +0200
commit54909304287f3c04dcfb39660be8ead57dc95440 (patch)
tree478f1b913f3bd4c3bbaa17525f0114c5b0a8689d /shared/core-utils/renderer
parentd0fbc9fd0a29c37f3ff9b99030351e90b276fe7d (diff)
downloadPeerTube-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.ts2
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[]
56export function escapeHTML (stringParam: string) { 56export function escapeHTML (stringParam: string) {
57 if (!stringParam) return '' 57 if (!stringParam) return ''
58 58
59 const entityMap = { 59 const entityMap: { [id: string ]: string } = {
60 '&': '&amp;', 60 '&': '&amp;',
61 '<': '&lt;', 61 '<': '&lt;',
62 '>': '&gt;', 62 '>': '&gt;',