[#42373563] Allow email macros in href attributes

Fixes a bug in which users can't create custom links with the target set to an email macro like [paypal_payment_link] and  [referral_link] due to href parameter filtering.