Private/ConvertTo-HtmlSafe.ps1
|
function ConvertTo-HtmlSafe { param([object]$Value) if ($null -eq $Value) { return "" } return [System.Net.WebUtility]::HtmlEncode(($Value | Out-String).Trim()) } |
|
function ConvertTo-HtmlSafe { param([object]$Value) if ($null -eq $Value) { return "" } return [System.Net.WebUtility]::HtmlEncode(($Value | Out-String).Trim()) } |