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

Images parsing produce bad HTML #155

Closed delabassee closed 9 years ago

delabassee commented 9 years ago

Parsing ![Alt text] (/img.jpg) will produce <p><img src="/img.jpg" alt="Alt text""/></p> Note the extra " before the img closing tag.

sirthias commented 9 years ago

Which pegdown version are you using?

delabassee commented 9 years ago

It was on 1.4.2, sorry! It works fine on 1.5.0