Skip to content

Commit bbc175d

Browse files
committed
Reported for Issue #436 on issue #438 - there you go Mikey - thanks :)
1 parent 0cec54e commit bbc175d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cognifide.PowerShell/Client/Applications/PowerShellIse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ private void PrintSessionUpdate(string result)
581581
{
582582
if (!string.IsNullOrEmpty(result))
583583
{
584-
result = HttpUtility.HtmlEncode(result.Replace("\r\n", "<br/>")).Replace("\\", "&#92;");
584+
result = HttpUtility.HtmlEncode(result.Replace("\r", "").Replace("\n", "<br/>")).Replace("\\", "&#92;");
585585
SheerResponse.Eval(string.Format("cognifide.powershell.appendOutput(\"{0}\");", result));
586586
ScriptResult.Visible = true;
587587
}

0 commit comments

Comments
 (0)