Skip to content
@drupflare/spool v1.0.0 GitHub
    Preparing search index...

    Function normalise

    • Reduces markup to what two renders of the same page must share: comments, the inline artifact element and the ring element removed, runs of whitespace collapsed to one space, whitespace between tags dropped, and every ignore match blanked (a per-render nonce, say). It does not reorder attributes or fix tag soup.

      Parameters

      Returns string