Fix boolean element attributes as per HTML5 spec