Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Add optional AST node limit #17

Open
fredemmott opened this issue Oct 16, 2020 · 0 comments
Open

Add optional AST node limit #17

fredemmott opened this issue Oct 16, 2020 · 0 comments

Comments

@fredemmott
Copy link
Contributor

It's pretty reasonable to attempt parsing any text as markdown; right now, this will lead to request-level limits such as memory or time. It'd be better to support a complexity limit within the parser, e.g. if there's a million AST nodes something's probably wrong and it should be treated as plain text.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant