Core Teaser component automatically appending current page path as a redirection
Hi Everyone,
I have overridden core teaser component into my project to add some custom fields in dialog level, there is no major changes in sightly. If I configure redirection url in dialog then it's redirecting properly as per the configuration.
But I didn't configure any redirection link in teaser dialog level, then it's taking current page path for redirection. I couldn't see any solutions so please folks help me with this to resolve this issue asap.
example: If I configured teaser component in our story page then markup will be like this.
<div class="cmp-teaser__image">
<div>
<a class="cmp-image__link" href="/content/proj/us/en/our-story.html" data-cmp-clickable="">
<picture>
<source media="(max-width:767px)" srcset="">
<img src="" loading="lazy" class="cmp-image__image" itemprop="contentUrl" alt="alttxt">
</picture>
</a>
<!--/* <span class="cmp-image__title" itemprop="caption" data-sly-test="false"></span>
<meta itemprop="caption" content="" data-sly-test=""> */ -->
</div>
</div>
I have found this portion of markup is coming from core image component[image component called in teaser markup], there no issue because If I have authored image component I am not facing this kind of issue.
CC: @kautuk_sahni @veenavikraman @aanchal-sikka @estebanbustamante



