Treat <tag attr /> as tag({attr: true}).