Fix extra newline bug for stacktrace lines on github and other markdown-based issue trackers