Tag Link | [Encode_HTML] | Category | Encoding |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 2.5 |
Change | Unchanged | Data Source | Any |
Output Type | String | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5 |
[Encode_HTML] takes a single argument which is a string to be encoded. It encodes any HTML reserved or illegal characters in the string into HTML entities.
This tag ensures that text will display with high fidelity in a Web browser. Any angle brackets will be encoded as HTML entitities so they are not mistaken for HTML markup. Any high
Note: This tag performs the same encoding as the
[Encode_HTML: 'Encoding Value']
Required Parameters | |
---|---|
Encoding Value | The specified value will have |
To encode text using HTML encoding:
Use the [Encode_HTML] tag. The following example encodes a string using HTML encoding to demonstrate what characters are replaced by HTML entitites. The less than and greater than symbols in the bold tags are replaced by HTML entities.
[Encode_HTML: '<b>mañana</b>']
<b>mañana</b>