Feb 21 2018 04:36 PM
Hi
I have a field which has some mark up in the text eg. <div>, <span> so I need to escape this markup. Is there an easy way to do this in PnP PowerShell.
Regards
Nigel
Feb 23 2018 03:30 AM
SolutionYes, there is !
$value = [System.Net.WebUtility]::HtmlEncode($fieldValue.Value)
Feb 23 2018 03:30 AM
SolutionYes, there is !
$value = [System.Net.WebUtility]::HtmlEncode($fieldValue.Value)