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

. . [test](foo "\\\"\b\a\r") .

test

. Not a closing tag . .

</ 123>

. Not a list item . 1.list .

1.list

. Coverage. Direcctive can terminate paragraph. . a a

.

http://example.com/α%CE%B2γ%CE%B4

. Autolinks do not allow escaping: . .

http://example.com/\[\

. Should not throw exception on mailformed URI . [foo](<%test>) .

foo

.