Fixes: Extremely slow parsing for certain pathological input
See https://github.com/sirthias/pegdown/issues/43