Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Teaser V2] Invalid Anchor link with image #2682

Open
MantashaNazar opened this issue Feb 22, 2024 · 0 comments
Open

[Teaser V2] Invalid Anchor link with image #2682

MantashaNazar opened this issue Feb 22, 2024 · 0 comments

Comments

@MantashaNazar
Copy link

Current Behavior
When a teaser has:

1.An image set

then the resulting anchor tag is invalid

Expected behavior/code
The component should not create anchor tag (on the image) that is invalid.

Environment

AEM 6.5.16
Core Components 2.22.0
JRE version 11

In Teaser V2 component imageLinkHidden property is not coming . Even is set "True" in the v2 teaser model and we when are try to print this property in html its getting false .We are suspecting because of this getting anchor tag on image in teaser component .

Please find the attached image.

image V2Model crxImageforteaserV2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant