Skip to content

Commit

Permalink
[581345] DiagnosticDecorator.escapeContent(String) does not strip '003'
Browse files Browse the repository at this point in the history
from the result
  • Loading branch information
merks committed Jan 13, 2023
1 parent 36cee1a commit ad70aa0
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,6 @@ public static String escapeContent(String content)
escape = false;
break;
}
case '\003':
{
escape = true;
break;
}
case ' ':
{
result.append(" ");
Expand All @@ -141,6 +136,10 @@ public static String escapeContent(String content)
}
}
}
else if (character == '\003')
{
escape = true;
}
else
{
result.append(character);
Expand Down

0 comments on commit ad70aa0

Please sign in to comment.