mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-29 04:09:43 +02:00
#2219 Moving check earlier in the chain for better effect
This commit is contained in:
@@ -65,7 +65,6 @@ const sanitizeMore = (text, config) => {
|
||||
|
||||
export const sanitizeText = (text, config) => {
|
||||
const txt = sanitizeMore(DOMPurify.sanitize(text), config);
|
||||
|
||||
return txt;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user