Stone.js API
    Preparing search index...

    Function serializeAttributes

    • Serialize a map of element attributes to a string (for <html> / <body>), with names sanitized and values escaped.

      Parameters

      • attributes: Record<string, string>

        The attribute map.

      Returns string

      The serialized attribute string (leading space included when non-empty).