We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1512aef commit 4d9fab4Copy full SHA for 4d9fab4
1 file changed
Bot/Sharp/Diagnostics/DiagnosticsFormatter.cs
@@ -166,7 +166,7 @@ private string FormatName(CompilationDiagnostic diagnostic)
166
return $"{GetSeverityEmoji(diagnostic.Severity)} {diagnostic.Id} ({location.Line + 1},{location.Character + 1})";
167
}
168
169
- private static string FormatValue(CompilationDiagnostic diagnostic) => diagnostic.Message;
+ private static string FormatValue(CompilationDiagnostic diagnostic) => Format.Escape(diagnostic.Message);
170
171
private static string LimitLength(string value, int maxLength)
172
{
0 commit comments