fix output escaping within #group helper