Tag Link | [Encode_Break] | Category | Encoding |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 5.0 |
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 Equivalent | [Encode_Breaks] |
[Encode_Break] takes a single argument which is a string to be encoded. It encodes any return or new line characters in the string into HTML break tags <br>.
Note: This tag performs the same encoding as the
[Encode_Break: 'Encoding Value']
Required Parameters | |
---|---|
Encoding Value | The specified value will have |
To encode text using break HTML encoding:
Use the [Encode_Break] tag. The following example encodes a string using break HTML encoding to demonstrate what characters are replaced by HTML entitites. The only character which is changed in the output is the return character that is replaced by an HTML <br> tag.
[Encode_Break: 'one\rtwo']
one<br>two