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

:first-child selector doesn't work #5

Open
domenkozar opened this issue Oct 15, 2016 · 2 comments
Open

:first-child selector doesn't work #5

domenkozar opened this issue Oct 15, 2016 · 2 comments

Comments

@domenkozar
Copy link
Contributor

Example on http://howoldis.herokuapp.com/

In Jquery:

$('a:first-child')
<a href=​"/​nixos-13.10">​ nixos-13.10​</a>​

in Haquery:

> Prelude.concatMap (select (Data.Text.pack "a:first-child")) html
[<a href="\\\"?C=N;O=D\\\"">
    Name
</a>,<a href="\\\"?C=M;O=A\\\"">
    Last modified
</a>,<a href="\\\"?C=S;O=A\\\"">
    Size
....
@domenkozar
Copy link
Contributor Author

Note that a:first does work.

@crufter
Copy link
Owner

crufter commented Oct 15, 2016

Going to look at this

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

2 participants