Closed kevinbackhouse closed 1 year ago
Revert and the previous fix for https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh. That solution was complicated and fragile, and it turns out that it couldn't handle examples like this:
python3 -c 'n = 40000; print(" -" * n + " > ```" + "\n" * n)' | ./src/cmark-gfm
I'll post a follow-up PR with the original, much simpler solution.
Revert and the previous fix for https://github.com/github/cmark-gfm/security/advisories/GHSA-66g8-4hjf-77xh. That solution was complicated and fragile, and it turns out that it couldn't handle examples like this:
I'll post a follow-up PR with the original, much simpler solution.