escapeHTML()
If parameter b has the value true, the function modifies a text a so that it can be used in an HTML text/file, i.e. characters that are reserved in HTML are masked.
If b has the value false, a masked text a is converted into an unmasked one, i.e. the reverse way. See examples below.
Parameters
Parameter |
Description |
a |
Text. |
b |
true, if masking is to be applied. false, if masking is to be undone. Default: true |
Examples
Parameter a |
Parameter b |
Result |
a < b && b > c |
true |
a < b && b > c |
a < b && b > c |
false |
a < b && b > c |