Removed some log statements

This commit is contained in:
Knut Sveidqvist
2021-08-05 19:53:11 +02:00
parent b29979bfd9
commit b6648283c2
8 changed files with 197 additions and 49 deletions

View File

@@ -73,11 +73,9 @@ export const detectInit = function (text, cnf) {
if (Array.isArray(inits)) {
let args = inits.map((init) => init.args);
console.log('sanitizer (args)', args);
directiveSanitizer(args);
results = assignWithDepth(results, [...args]);
console.log('sanitize results', results);
} else {
results = inits.args;
}
@@ -822,7 +820,7 @@ export const entityDecode = function (html) {
};
export const directiveSanitizer = (args) => {
console.log('directiveSanitizer called with', args);
log.debug('directiveSanitizer called with', args);
if (typeof args === 'object') {
// check for array
if (args.length) {