aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
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