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

BlockQuote should not include trailing blank lines if the following block is not a BlockQuote #184

Closed vsch closed 9 years ago

vsch commented 9 years ago

Currently BlockQuotes will include trailing blank lines, even if the block following is not a block quote and will not be included in the block quote.

I made the changes to the parser and the tests. Will submit PR with other fixes.