New legislation would cover children’s playgrounds, but pub gardens win reprieve after industry objections