app/functions/contentProcessors.js
function cleanObjectStrings (obj) {
  let cleanObj = {};
  for (let field in obj) {
    if (obj.hasOwnProperty(field)) {
      cleanObj[cleanString(field, true)] = ('' + obj[field]).trim();
    }
  }
  return cleanObj;
}
function cleanObjectStrings (obj) {
  let cleanObj = {};
  for (let field in obj) {
    if (obj.hasOwnProperty(field)) {
      cleanObj[cleanString(field, true)] = ('' + obj[field]).trim();
    }
  }
  return cleanObj;
}
function cleanObjectStrings ( obj ) { let cleanObj = { } ; for ( let field in obj ) { if ( obj . hasOwnProperty ( field ) ) { cleanObj [ cleanString ( field , true ) ] = ( '' + obj [ field ] ) . trim ( ) ; } } return cleanObj ; }
Clean object strings.
Clean object strings .