Updated snippet for double encoding

ampersands & are getting double encoded. Added the decode prevents this