-
Via #37 it looks like handling unclosed tags is a goal for built-in HTML parser. But I was surprised that a tag name `floki` was added to the parsed html tree here. Is this expected behavior?
```
iex…
-
Hi!
I maintain a tiny Floki wrapper called [EasyHTML](https://github.com/wojtekmach/easyhtml) which adds a struct around nodes and thus we can implement protocols and behaviours. Here's an example:…
-
Floki doesn't seem able to render large JSON files at all even though `JSON.parse` handles them just fine.
```sh
# It's a fairly big file, sure.
ls -lh
... 31M ... big-file.json
# But node ha…
emiln updated
5 years ago
-
I'm using the [Floki](https://hexdocs.pm/floki/Floki.html) web parsing library and have defined the following specs for use in my own code:
```elixir
def floki_html_tree(),
do: coll_of(one_of([…
-
seems simpler than using floki, check: https://github.com/fertapric/xmap
-
Not sure if this project is still alive, but it'd be nice if it removed HTML comment tags. I think it should be a trivial change using one more Floki function https://hexdocs.pm/floki/Floki.html#filte…
-
For example, we'd like to be able to do something like this:
```elixir
assert_has(field("Username", "matt"))
```
That `field` function needs to be able to walk the DOM from the label to the as…
-
## Description
Mochiweb Floki will produce different output than html5ever, namely, the output of `Floki.parse` will be wrapped in `...`
## To Reproduce
Steps to reproduce the behavior:
- …
-
### Steps
https://www.dextools.io/app/en/bnb/pair-explorer/0x48bfb05d41ee8ffd5574c7adadaf289074c98312?t=1713181532038
https://locker.flokifi.com/view/1/0x48bfb05d41ee8ffd5574c7adadaf289074c98312/5…
-
Allow users to inject functions into the pipeline to transform Markdown and HTML.
Suppose you want to transform all headings into `H1` and add a class `topic` to each one of those headers. You coul…