Quotes in AMPScript break email template
Very recently I have found that when I add any AMPScript function to eg. button URL field SFMC will just ignore everything that follows after the first occurrence of the double quote.
Simple fix is to use single quotes instead.