utmmoout.wbb - Format Text Containing CR-LF Characters As HTML

Syntax

CALL "utmmoout.wbb",textin$,textout$

Description

Web browsers ignore white space when formatting HTML output. To force data output that contains CF-LF line breaks to retain the breaks, include <P> and <BR> tags in the HTML output. This low-level routine performs this function by analyzing textin$ and substituting the appropriate line- or paragraph-breaks.

Conversion of free form text entry in an HTML form into a format suitable for storage using blocking techniques.

Parameter

Description

textin$

String variable that contains the data with CR-LF line breaks.

textout$

Returns an HTML version of the text with <P> and <BR> tags where appropriate.

Note:

This routine is not a mirror of "utmmoin.wbb".