Re-enable redaction in task log output (web UI)
The h() function was escaping our <redacted> elements, causing them to
render literally.  Putting them back after the escape does the trick.
var e = document.createElement('div');
return function (s) {
e.innerText = (typeof(s) === 'undefined' ? '' : s).toString();
- return e.innerHTML;
+ return e.innerHTML.replace(/&lt;(\/?redacted)&gt;/g, '<$1>');
};
})();
