Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | escapeHtml(html) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
Escapes the given html removing traces of offending characters that could be wrongfully interpreted as markup. |
Escapes the given html removing traces of offending characters that could be wrongfully interpreted as markup The following characters are reserved in HTML and must be replaced with their corresponding HTML entities:
...
Table plus |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
Parameter name | Type | Required | Description |
---|
html | String | Yes | HTML to escape. | |
Return Type
String
Returns the html input escaped.
...
Returns :Returns "<html><script><img src=1 onerror=alert(1)></script></html>"
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "string_ |
---|
|
...
routine" and space = currentSpace ( ) | labels | array_routines |
---|
|