fix xss test

This commit is contained in:
Sidharth Vinod
2023-02-19 22:24:04 +05:30
parent ed04d73617
commit 6cc34dc9fd
2 changed files with 12 additions and 12 deletions

View File

@@ -119,7 +119,7 @@ const contentLoadedApi = async function () {
mermaid2.initialize(graphObj.mermaid);
const { svg, bindFunctions } = await mermaid2.render('newid', graphObj.code, div);
div.innerHTML = svg;
console.log(svg);
console.log(div.innerHTML);
bindFunctions(div);
}
}