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.
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.
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