code: function writeNode(node, c, end) {
        var toYield = [];
        forEach(simplifyDOM(node, end), function(part) {
          toYield.push(insertPart(part));
        });
        return yield(toYield.join(""), c);
      }
docs: Extract the text and newlines from a DOM node, insert them into the document, and yield the textual content. Used to replace non-normalized nodes.