Adds  s to between the second to last and last word to avoid unorphanization.
// Unorphanize all text nodes. dom.unorphan(element as HTMLElement); // No nesting (just the last text node) dom.unorphan(element as HTMLElement, true); Copy
// Unorphanize all text nodes. dom.unorphan(element as HTMLElement); // No nesting (just the last text node) dom.unorphan(element as HTMLElement, true);
Adds  s to between the second to last and last word to avoid unorphanization.