How to add scriptlet expression <%= %> inside anchor tag
Hi,
I have a use case where I need to create an anchor tag as below -
<a href="<%= target %>">Click Here</a>
AEM is not accepting this syntax and removing href itself. (I have tried all options in Link checker service and transformer)
I tested this in a non AEM html page and it work fine and did not get removed. How we can make AEM understand this as valid link and avoid removal of href values?
Little background why I need this - We are creating Email templates in AEM and that would be used in Adobe Campaign Standard (ACS) as email delivery.
I have to use this scriptlet expression in href because ACS "Content Block" (file where I can fetch dynamic values per user) only understands this expression and I need to populate dynamic values when emails are getting prepared in ACS.
Thanks for any help on this!
Thanks,
Ratna

