aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-17 14:49:36 +0100
committerChocobozzz <me@florianbigard.com>2020-11-17 14:52:57 +0100
commit47dc5db9c38d72666da5733a7a026976ec7dac04 (patch)
treec14de369e6a3faa476ad66a8e9dc6a91f4ab5892 /shared
parent45c70083ddb7f57c52e2c587d6e3ab581c657716 (diff)
downloadPeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.gz
PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.tar.zst
PeerTube-47dc5db9c38d72666da5733a7a026976ec7dac04.zip
Fix client build
Diffstat (limited to 'shared')
-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 37ae5147c..1220848a0 100644
--- a/shared/core-utils/renderer/html.ts
+++ b/shared/core-utils/renderer/html.ts
@@ -5,7 +5,7 @@ export const SANITIZE_OPTIONS = {
5 a: [ 'href', 'class', 'target', 'rel' ] 5 a: [ 'href', 'class', 'target', 'rel' ]
6 }, 6 },
7 transformTags: { 7 transformTags: {
8 a: (tagName, attribs) => { 8 a: (tagName: string, attribs: any) => {
9 let rel = 'noopener noreferrer' 9 let rel = 'noopener noreferrer'
10 if (attribs.rel === 'me') rel += ' me' 10 if (attribs.rel === 'me') rel += ' me'
11 11