Abnaxos / markdown-doclet

A Doclet that allows the use of Markdown in JavaDoc comments.
GNU General Public License v3.0
319 stars 40 forks source link

Multiple fenced code blocks in one javadoc comment #28

Open arvola opened 10 years ago

arvola commented 10 years ago

If there are two code blocks in one comment, the code block newline handling seems to break. It loses all newlines inside all code blocks. A sample to reproduce this behaviour below; the class comment is broken while the method comment works correctly.

https://gist.github.com/arvola/1117bc597e6efb8e0b0e

arvola commented 10 years ago

Actually, I'm not sure if the issue is multiple fenced blocks. It looks like it happens when there's more than one line of text before the code block in the comment. I've updated the gist.