a tag disappearing in rendered HTML (using HTL in href property)
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.
I tried with/without context=uri and I get the same issue.
Any ideas what I could be doing wrong?
Thanks
edit
I also tried the code below and the a tag got stripped out as well. I have no issues when I use the full URL.
div class="col-lg-6"><a href="/content/myhost/en/fishes.html" class="black_transparent_button">View all fishes</a></div>