utentity.wbb - Convert HTML Markup Entities to Browser-Displayable Format

Syntax

CALL "utentity.wbb",text$

Description

When sending text to a client browser, it may be necessary to include characters that the browser would normally interpret as HTML markup characters but should be displayed as they are stored. Examples include "<", ">", and "&". This routine converts occurrences of these characters to the proper entity markup. For example, the "<" characters are converted to "&lt;".

This routine is called automatically for all data elements by the high-level BASIC Web Utility programs, unless the user-defined template attribute "passthru=y" is specified.