-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Unfortunately Out-HtmlView doesn't show line breaks (`n
) without carriage return (`r
) for me. Powershell and Out-GridView are showing the normal line breaks:
Example Code:
$test = @("1. new line`ninline",
"2. new line`r`ninline with carriage return",
"3. new line`n",
"4. two new lines`n`n")
$test | Out-HtmlView
$test | Out-GridView
$test | Write-Host
Out-HtmlView Output in Firefox:
Write-Host Output:
1. new line
inline
2. new line
inline with carriage return
3. new line
4. two new lines
System Info:
Windows 11
Powershell 7.4.6
PSWriteHTML 1.28.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working