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

Fix dialyzer issues with Floki.text/1 #437

Merged
merged 1 commit into from
Nov 17, 2022

Commits on Nov 17, 2022

  1. Fix dialyzer issues with Floki.text/1

    If you pass a node directly, you'll get an error like
    
    ```
    The function call will not succeed.
    
    Floki.text(_block :: {<<_::8>>, binary() | [{binary(), binary()}], [any()]})
    
    breaks the contract
    (html_tree() | binary()) :: binary()
    ```
    davydog187 committed Nov 17, 2022
    Configuration menu
    Copy the full SHA
    3bc0ecd View commit details
    Browse the repository at this point in the history