Encode HTML
Description
The encode_html part is used for ensuring text will be accurately shown by a browser by escaping special characters in strings used in HTML documents to prevent confusion with HTML elements.
Use
The process of ‘HTML encoding’ involves replacing certain characters (such as < and >) with a particular ‘escape sequence’ of characters that a browser knows how to display and that don’t interfere with browser rendering. The encode_html part applies HTML encoding to a specified string. This is useful as a quick method of encoding form data and other client request data before using it in your Web application. Encoding data converts potentially unsafe characters to their HTML-encoded equivalent.
Editor Fields
Field Name |
Description/Use |
Type/Options |
Optional/Mandatory |
Mode |
Processing - Output path is enabled and you can use the result for further processing. |
Data Object/Text |
Mandatory |
Input path |
This specifies the path or variable that contains the text you want to encode. |
Text |
Mandatory |
Function mode |
This is where you choose if you want to Encode or UnEncode the text. |
Text |
Mandatory |
Example
Download and import the following example project in your workspace.