Skip to content

Extreme slowdown on missing space after mail link #647

@stgm

Description

@stgm

We have a document that takes forever to parse, because the author forgot to insert a space after an e-mail link. It looks like this:

Stuur een mail naar <progik@mprog.nl>stel een vraag

I noticed that the parser takes noticeably longer even when I cut off the document just 10-20 characters after that link. The more characters that follow the missing space, the longer the parser takes. For the whole document, it took 25 seconds to parse :-)

We're on the Kramdown 2.1.0 gem in a Rails project.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions