Miner.Responder.WindowsService Assembly > Miner.Responder.WindowsService.Web Namespace > Global Class : HtmlEncode Method |
The HttpUtility.HtmlEncode does not convert everything that we need converted. Carriage-return sequences need to be converted to "
" for the multi-line strings to look correct in the browser.
If the text is going to be displayed in a "textarea" html element then you do not need carriage-returns to be converted, so you should just call HttpUtility.HtmlEncode directly.
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.