Floki.parse_document-exclamation-mark

You're seeing just the function parse_document-exclamation-mark, go back to Floki module for more information.
Link to this function

parse_document!(document, opts \\ [])

View Source

Specs

parse_document!(binary(), Keyword.t()) :: html_tree()

Parses a HTML Document from a string.

Similar to Floki.parse_document/1, but raises Floki.ParseError if there was an error parsing the document.

Example

iex> Floki.parse_document!("<html><head></head><body>hello</body></html>")
[{"html", [], [{"head", [], []}, {"body", [], ["hello"]}]}]