so I have this piece of HTL
<div class="col-lg-6"><a href="${properties.targetURL@context='uri'}" class="black_transparent_button">View all fishes|${properties.targetURL}</a></div>
When I view the page (view as published) in my local AEM, this is the rendered HTML
<div class="col-lg-6">View all fishes|/content/myhost/en/fishes.html</div>
as can be seen, the a tag has disappeared.
As a test, I tried using the relative link directly like this:
I tried with/without context=uri and I get the same issue.
<div class="col-lg-6"><a href="/content/myhost/en/fishes.html" class="black_transparent_button">View all fishes</a></div>
And the a tag disappeared as well. Using full URL (i.e. http://www.myhost.com/content/myhost/en/fishes.html) works fine.
Any ideas on how to fix it?
Thanks
Edit: I also tried the second code (the one using relative URL) in our testing environment (in the cloud and hosted by Adobe) and I get the same issue.