Skip to content

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

@happyboy2k

Description

@happyboy2k

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions