@blinkk/degu
    Preparing search index...

    Function unorphan

    • Adds &nbsps 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);

      Parameters

      • el: HTMLElement
      • lastOnly: boolean = false

      Returns void