mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-05 23:29:37 +02:00
Update src/diagrams/common/common.js
Co-authored-by: Matthieu MOREL <mmorel-35@users.noreply.github.com>
This commit is contained in:
@@ -65,7 +65,6 @@ const sanitizeMore = (text, config) => {
|
||||
};
|
||||
|
||||
export const sanitizeText = (text, config) => {
|
||||
// console.log('security level', config.securityLevel);
|
||||
if (!text) return text;
|
||||
const txt = DOMPurify.sanitize(sanitizeMore(text, config));
|
||||
return txt;
|
||||
|
Reference in New Issue
Block a user