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] Some tags are loosing part of their content when selected. #157

Open
happyboy2k opened this issue Jun 20, 2024 · 0 comments
Open

[BUG] Some tags are loosing part of their content when selected. #157

happyboy2k opened this issue Jun 20, 2024 · 0 comments

Comments

@happyboy2k
Copy link

happyboy2k commented Jun 20, 2024

Hi,
I really like your library and use it quite frequently. So I think I found a bug:

(-> "<td><div>hello</div><h1>hi</h1></td>" html/html-snippet (html/select [:div]))

({:tag :div, :attrs nil, :content ("hello")})
I was expecting the h1 tag to be returned too since it's also content of the td tag.

Greetings

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