With the javascript implementation of commonmark, the following markup:
[foo] bar
[foo]: /uri
renders as
<p><a href="/uri">foo</a>bar</p>
dropping the whitespace between the link and text. I expected
<p><a href="/uri">foo</a> bar</p>
It isn’t clear to me from the spec if this is desired behavior or a bug. Can you add a clarification and test case to the spec?