dart-lang / markdown

A Dart markdown library
https://pub.dev/packages/markdown
BSD 3-Clause "New" or "Revised" License
444 stars 201 forks source link

Infinite loop with links inside table headers and GitHubWeb extension #531

Closed isoos closed 1 year ago

isoos commented 1 year ago

The following markdown has a table header with a link:

| Configuration Name | Description (from [microsoft docs](https://docs.microsoft.com/en-us/uwp/schemas/appxpackage/appxmanifestschema/schema-root "microsoft docs")) | Default Value (value type) | Required |
| ------------ | ------------ | ------------ |
|  display_name | A friendly name that can be displayed to users. | MyApp (string) | No |

Running with dart run markdown --extension-set GitHubWeb causes an infinite loop. Removing the link from the header renders jus fine.