sirthias / pegdown

A pure-Java Markdown processor based on a parboiled PEG parser supporting a number of extensions
http://pegdown.org
Apache License 2.0
1.29k stars 218 forks source link

Spock Framework #240

Closed mgilewicz closed 8 years ago

mgilewicz commented 8 years ago

Hello, I tried to parse Spock output files through Pegdown but I failed. The problem is that it doesn't recognize image src links with whitespaces.

Example:

[![Windows Build Status](https://img.shields.io/appveyor/ci/spockframework/spock/master.svg?label=Windows Build)](https://ci.appveyor.com/project/spockframework/spock/branch/master)

It gets parsed to HTML as follows

<p><a href="https://ci.appveyor.com/project/spockframework/spock/branch/master">![Windows Build Status](https://img.shields.io/appveyor/ci/spockframework/spock/master.svg?label=Windows Build)</a></p>

Such links are supported by Github. Is it possible to add such feature?