Fix linebreaks for markdown output