let content = row.content; row.content = content.replace(/[^<>]+(?=<)/g, function (match) {return match.replace(/\s/g, ' '); });