philss / floki

Floki is a simple HTML parser that enables search for nodes using CSS selectors.
https://hex.pm/packages/floki
MIT License
2.05k stars 155 forks source link

`Floki.filter_out` for text nodes #282

Closed ckruse closed 3 years ago

ckruse commented 4 years ago

Feature goal

It would be nice to be able to filter out text nodes. :text (in comparison to :comment) could be used.

Floki.filter_out(doc, :text)
philss commented 3 years ago

I totally forgot to close the issue. It was introduced by #283 . Thanks!

ckruse commented 3 years ago

Me too. Thanks! :)