code: function cleanup(html) {
        html = cheerio.load(html);
        html('[' + ignoreAttr + ']').removeAttr(ignoreAttr);
        html = html.html();
        return html;
      }
docs: Use Cheerio to strip out any attributes we used to keep track of our work, then generate new HTML. This also closes any tags we opened but did not close.