mirror of
https://github.com/requarks/wiki.git
synced 2025-02-25 18:55:30 -06:00
fix: secure html module removes target attribute from links (#2012)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user