ESCAPESTYLE Operation

How to use the ESCAPESTYLE operation for Computed Attributes

Definition

The ESCAPESTYLE operation removes all styling elements from a text.

Example

ESCAPESTYLE(“<script>alert(‘Hello’)</script><b style=”color: red”>Hello World</b>”)

Result:
<script>alert(‘Hello’)</script><b>Hello World</b>

Syntax Guide

ESCAPESTYLE(text)

text - The text string to remove styling elements from