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.
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.