Closed
Description
Hi,
I've encountered an unexpected behavior:
Markdown:
[![Build Status]](https://travis-ci.org/commonmark/cmark)
[Build Status]: https://img.shields.io/travis/commonmark/cmark/master.svg?style=flat
Produces
<p>
<a href="https://travis-ci.org/commonmark/cmark">![Build Status]</a>
</p>
Expected behavior: (inserted the above markdown snippet as is into this issue)
or in html:
<p>
<a href="https://travis-ci.org/commonmark/cmark"><img src="https://img.shields.io/travis/commonmark/cmark/master.svg?style=flat" alt="Build Status"></a>
</p>
In babel: