Allow unknown protocols in project's description links #3758
|
@ -37,6 +37,6 @@ const htmlDescription = computed(() => {
|
|||
}
|
||||
|
||||
setupMarkdownRenderer(createRandomID())
|
||||
return DOMPurify.sanitize(marked(description), {ADD_ATTR: ['target']})
|
||||
return DOMPurify.sanitize(marked(description), {ADD_ATTR: ['target'], ALLOW_UNKNOWN_PROTOCOLS: true})
|
||||
})
|
||||
</script>
|
||||
|
|
Reference in New Issue