escapeHTML()

This function replaces special characters with HTML entities.


Bash
escapeHTML(text) #Output: Text


Examples

Parser expression

Description

Bash
escapeHTML("<Français>" )

This example returns: 

&lt;Fran&ccedil;ais&gt;

Bash
escapeHTML("JWT & Jira = <3" )

This example returns:

JWT &amp; Jira = &lt;3

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

text

text

Any given text.

Output

This function returns a text

If you want to achieve the opposite try using unescapeHTML() instead.


📚 Use cases and examples