uce/doc/pages/html_escape.txt
2021-12-30 03:07:41 +00:00

14 lines
284 B
Plaintext

:sig
String html_escape(String s)
:params
s : string to be escaped
return value : an HTML-safe escaped version of 's'
:desc
Returns a version of the input string where the following characters have been replace by HTML entities:
- & → &amp
- < → lt;
- > → &gt;
- " → &quot;