Encodes text so that it is safe to use in HTML.

This is a shortcut to Runtime.HtmlUtilities.HtmlEncode.

Syntax

ISSupport.HtmlEncode(text, [makeConsecutiveSpacesNonBreaking], [encodeLineBreaks])

Parameters

NameTypeOptionalByRefDescription
text String The text to encode.
makeConsecutiveSpacesNonBreaking Boolean Optional Indicates whether to make all consecutive spaces into non-breaking spaces. If omitted, a value of False is assumed.
encodeLineBreaks Boolean Optional If omitted, a value of False is assumed.

Return Value

String

A String value.

Member of:
ISSupport
Namespace:
Intersoft.ISSupport6
Assembly:
ISSupport6, Version=6.0.3
Target Framework:
.NET 9.0