Closed RichMorin closed 4 years ago
I think line 391 of https://github.com/philss/floki/blob/master/lib/floki.ex needs to be something like:
) :: {html_tree(), traverse_acc()}
I've tried this and it seems to clear up the problem.
Closed by #255
Although
traverse_and_update/3
seems to work nicely, it breaksmix dialyzer
for me. The problem is that the output type (as documented here) is specified ashtml_tree
. It should be specified as (something like){html_tree, any}
.