[{"name":"Html.Parser","comment":" Parse HTML 5 in Elm.\nSee <https://www.w3.org/TR/html5/syntax.html>\n\n@docs run, Node\n\n","unions":[{"name":"Node","comment":" An HTML node. It can either be:\n\n  - Text\n  - Element (with its **tag name**, **attributes** and **children**)\n  - Comment\n\n","args":[],"cases":[["Text",["String.String"]],["Element",["String.String","List.List Html.Parser.Attribute","List.List Html.Parser.Node"]],["Comment",["String.String"]]]}],"aliases":[],"values":[{"name":"run","comment":" Run the parser!\n\n    run \"<div><p>Hello, world!</p></div>\"\n    -- => Ok [ Element \"div\" [] [ Element \"p\" [] [ Text \"Hello, world!\" ] ] ]\n\n","type":"String.String -> Result.Result (List.List Parser.DeadEnd) (List.List Html.Parser.Node)"}],"binops":[]},{"name":"Html.Parser.Util","comment":" Utility functions that may help you digging into the contents.\n\n\n# Virtual DOM\n\n@docs toVirtualDom, toVirtualDomSvg\n\n","unions":[],"aliases":[],"values":[{"name":"toVirtualDom","comment":" Converts nodes to virtual dom nodes.\n","type":"List.List Html.Parser.Node -> List.List (Html.Html msg)"},{"name":"toVirtualDomSvg","comment":" Converts nodes to virtual dom SVG nodes.\n\nNote: If node list contains `<svg>` tag, you can use `toVirtualDom` instead.\nOtherwise, use this function.\n\n    svg : Svg msg\n    svg =\n        parse \"\"\"<circle cx=\"40\" cy=\"40\" r=\"24\" style=\"stroke:#006600; fill:#00cc00\"/>\"\"\"\n            |> toVirtualDomSvg\n            |> Svg.svg []\n\n","type":"List.List Html.Parser.Node -> List.List (Svg.Svg msg)"}],"binops":[]}]