nl_tokens: Serialize tag attributes info
pl_tokens: function serializeAttrs ( attributes , opts ) { if ( ! attributes ) { return ; } let output = '' ; let value ; Object . keys ( attributes ) . forEach ( key => { value = attributes [ <mask> ] ; if ( output ) { output += ' ' ; } let isBoolAttr = value && typeof value === 'boolean' ; if ( isBoolAttr ) { output += key ; } else { output += key + '="' + ( opts . decodeEntities ? entities . encodeXML ( value ) : value ) + '"' ; } } ) ; return output ; }