@wdprlib/render
    Preparing search index...
    • Normalize HTML boolean attributes to Wikidot's attr="attr" format.

      Works on the parsed attribute map, before sanitize-html serializes and escapes each value. Rewriting the serialized HTML instead would let text inside a value be read as a new attribute.

      Parameters

      • attribs: Record<string, string>

      Returns Record<string, string>