Skip to content

Infinite loop on invalid HTML #1394

@njlr

Description

@njlr
#r "nuget: FSharp.Data, 4.2.3"

open FSharp.Data

let content = """<html>
</html
"""

let doc = HtmlDocument.Parse(content) // Never terminates

printfn "%A" doc

(Different one to previous)

$ dotnet --version
5.0.103

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions