Unverified Commit 037822b9 authored by Regev Brody's avatar Regev Brody Committed by GitHub

fix: secure html module removes target attribute from links (#2012)

parent ca0708ea
......@@ -7,7 +7,7 @@ module.exports = {
const window = new JSDOM('').window
const DOMPurify = createDOMPurify(window)
const allowedAttrs = ['v-pre', 'v-slot:tabs', 'v-slot:content']
const allowedAttrs = ['v-pre', 'v-slot:tabs', 'v-slot:content', 'target']
const allowedTags = ['tabset', 'template']
if (config.allowIFrames) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment