Commit b42e7f5ceac7f72601b9c28c88693e63df95e416

Martin Mitas 2022-01-10T11:41:25

md_resolve_links: Avoid link ref. def. lookup if... if we know that the bracket pair contains nested brackets. That makes the label invalid anyway, therefore we know that there is no link ref. def. to be found anyway. In case of heavily nested bracket pairs, the lookup could lead to quadratic parsing times. Fixes #172.