mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Fix client build
This commit is contained in:
parent
45c70083dd
commit
47dc5db9c3
2 changed files with 4 additions and 4 deletions
|
@ -5,7 +5,7 @@ export const SANITIZE_OPTIONS = {
|
|||
a: [ 'href', 'class', 'target', 'rel' ]
|
||||
},
|
||||
transformTags: {
|
||||
a: (tagName, attribs) => {
|
||||
a: (tagName: string, attribs: any) => {
|
||||
let rel = 'noopener noreferrer'
|
||||
if (attribs.rel === 'me') rel += ' me'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue