Skip to content

Commit

Permalink
Merge pull request #2375 from OlegAxenow/bug/2374_console_in_sanitize…
Browse files Browse the repository at this point in the history
…Text

Comment console.log in sanitizeText
  • Loading branch information
ashishjain0512 authored Oct 7, 2021
2 parents d267f84 + 626fbe6 commit dcca489
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/diagrams/common/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ const sanitizeMore = (text, config) => {
};

export const sanitizeText = (text, config) => {
const level = config.securityLevel;
console.log('security level', level);
if (!text) return text;
const txt = DOMPurify.sanitize(sanitizeMore(text, config));
return txt;
Expand Down

0 comments on commit dcca489

Please sign in to comment.