issue #2951443 finish
takeout 'if(href.length ...) {' ... '}'