# escapeHtml

escapeHtml() function is the Standard function available in 200OK

**Description** : The escapeHtml function escapes HTML tags within the provided string.

**Syntax** : fx\_escapeHtml(string)

**Example** : fx\_escapeHtml(\<tag>string\<tag>) returns 'string', removing the HTML tags from the string.

**Scenario** :  In a content management system, users often need to sanitize user input to prevent HTML injection attacks. They utilize fx\_escapeHtml function to escape HTML tags from strings. For example, fx\_escapeHtml(\<tag>string\<tag>) returns 'string', effectively removing HTML tags from the string.

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/iXywZ5aABaraaECvvTwFaPICWQSrSqjzxalh8I6nSYmy3gSgX-CkE44RFGSKanLEqghLkeMyqbPOc2e50YJqEIYFl30DZc6sXfB17dYxpLqCHcbpHtKeMNeY9ke7WtbSqy9vkIbOt6mhq5k2G_PBxqs" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/D28l-FjShiuH-I13S2g_93BST1B2AbleNCXxAJa2PxWgDc9Dj4BAWtY4scTcnRL6654Ki5TUXZ-GxqxUlO1IZslqTnMYnrjsmko0rfdVtvMM7jYcjeL7r6gl7tH-I-R1RktB5zTxzFhOLPR9eC35n5E" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/tP_Ptwl-djh70dhiE1Hh3AgRxAdlOOvEnXQLZq15UXVPYM0sVfXJC59oToui9yKDX71R57Fgkt8vKaS-5XD16x72TykCWAgUiX5fFBlpKgTq-zn3AeTrVwpsuPXCLo4HcqJyxYOMb9hZM1GaIW1y0Vk" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/4GdHkbXnnNvOh5Ir-ZqVp9OUEccemAO4xTzPNbzqwDqOkvTg_dItbdRFSecU9goBdFRO9Yv2_1XAl1sb3Hz9Ck3x1ZfkiJKqS8ZnjIL9oTbM303-g-E6_VhlNwtidEHVYlAmvNAM6rA6ea747q28IcE" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/_XiBRk6E_HfycV3vfOhKZmB-L2ETZIIq4ywkiWNijcvZq44lscVYPg1khO5JZUSxZ5gQhspROAtvrRt7Dp5bjyYASwbOawTPUXjr6wrRWz3AuIN7XGnHZaTuMtmqlFuFPPH7O_AuDB7rWCqVUk_F1Kk" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/hpNFSl6wjsCHrKk9mIHjZxjdTnhwCzB-PCFBLen2Ph8XTNjR8OANZKo-hb9RMQfms8vCVw8zJdbBhzoLzo8QLns5CXteEpGLt2MxH5wtLmg7CCkFS_k89Ds0uBCCgyZ4piarAHSa-rE4UC5F9Ox1xBw" alt=""><figcaption></figcaption></figure>
