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

Bug report - img@src fails but alt works #373

Open
sabatale opened this issue Mar 13, 2021 · 0 comments
Open

Bug report - img@src fails but alt works #373

sabatale opened this issue Mar 13, 2021 · 0 comments

Comments

@sabatale
Copy link

sabatale commented Mar 13, 2021

Describe the bug
img@src returns no value while img@alt for the same selector is working.

Expected behavior
img@src should return a link.

Actual behavior
img@src returns no value at all.

Working example code

<div id="#result" class="other-container">
  <a class="photo-container photo-1" onclick="event.preventDefault();addDataLayerPhotoViewer(16235957, 'Summary');initPhotoGallery('en', '16235957', true, '999', 2)" href="" role="button">
    <img class="" alt="My text" style="display: flex;" src="https://domain.com/media.ashx?id=ADDD250D2B6DBD6DD60939ED4B&amp;t=pi&amp;w=820&amp;h=440&amp;sm=c">
  </a>
</div>
x('https://domain.com/abc', '#result',
  [{
    img1 '.photo-1 img@src'
  }]
)

Environment:

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