Regression tests for link backtracking optimizations: . [[some unrelated text [link] [link]: foo .
[[some unrelated text link
. . [[some unrelated text [[link]] [[link]]: foo .[[some unrelated text [link]
. This is not a valid emphasis, because \n considered a whitespace: . **test ** ** test** ** test ** .**test **
** test**
** test **
. Link label has priority over emphasis (not covered by commonmark tests): . [**link]()** **[link**]() .**link**
**link**
. Issue #55: . ![test] ![test](foo bar) .![test]
![test](foo bar)
. Should unescape only needed things in link destinations/titles: . [test](<\f\o\o\>\\>) . . . [test](foo "\\\"\b\a\r") . . Not a closing tag . 123> .</ 123>
. Not a list item . 1.list .1.list
. Coverage. Direcctive can terminate paragraph. . a a