Merge branch 'master' into develop

This commit is contained in:
ashishj
2022-04-21 22:08:29 +02:00
7 changed files with 3527 additions and 3486 deletions

View File

@@ -545,7 +545,10 @@ const render = function (id, _txt, cb, container) {
</iframe>`;
} else {
if (cnf.securityLevel !== 'loose') {
svgCode = DOMPurify.sanitize(svgCode, { ADD_TAGS: ['foreignobject'] });
svgCode = DOMPurify.sanitize(svgCode, {
ADD_TAGS: ['foreignobject'],
ADD_ATTR: ['dominant-baseline'],
});
}
}