better handling of boolean attributes like 'checked', 'hidden', 'selected'
1.7.0