diff --git a/scanner/src/main/java/io/codety/scanner/reporter/IssueToBulletPointTextGenerator.java b/scanner/src/main/java/io/codety/scanner/reporter/IssueToBulletPointTextGenerator.java index c8d4e01..cff4907 100644 --- a/scanner/src/main/java/io/codety/scanner/reporter/IssueToBulletPointTextGenerator.java +++ b/scanner/src/main/java/io/codety/scanner/reporter/IssueToBulletPointTextGenerator.java @@ -39,6 +39,6 @@ public static void extracted(CodeAnalysisIssueDto issueDto, StringBuilder sb) { sb.append("[").append(issueDto.getCweId()).append("] "); } if (issueDto.getDescription() != null) - sb.append(" ").append(issueDto.getDescription()); + sb.append(" ").append(issueDto.getDescription().replaceAll("\\n", "")); } }