Availability
$WBHE is available for use with all WBSP commands.
Syntax
$WBHE{sourcetext|validchars}
$WBHE[sourcetext|validchars]
Parameters
sourcetext - the text containing characters that should
be converted to HTML entities (&#number;)
validchars
- the string containing characters that will not be replaced. If not
defined, default string is used. The default string contains upper and lower
case English alphabet characters, number characters, space, new line (ASCII 10)
and carriage return (ASCII 13)
Returns
The sourcetext with HTML entities instead of any character
not in validchars list.
Example
After running this example, the source code of a resulting page should look like this: