@lesjoursfr/browser-tools
    Preparing search index...

    Function trimTag

    • Remove all leading & trailing node's child nodes that match the given tag.

      Parameters

      • node: HTMLElement

        the node to process

      • tag: string

        the tag

      Returns void