Consultor Eletrônico



Kbase P62784: What does html-encode function is used for?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/01/2004
Status: Unverified

GOAL:

What does html-encode function is used for?

GOAL:

How to use html-encode function

GOAL:

How to use less than and greater than signs as literals in Webspeed

FIX:

Use html-encode API function that converts various characters that may otherwise be misinterpreted as HTML formatting to their HTML entity representation. In particular, this applies to <, >, & and " (double quote) which are converted to &lt;, &gt; &amp; and &quot; respectively.

Sample code:

{&OUT} html-encode('&lt;') 'your-name' html-encode('&gt;').

the output will be:

<your-name>