html-escape ( str -- newstr )


Vocabulary
html.entities

Inputs
stra string


Outputs
newstra string


Word description
Replaces special characters &, <, >, ", and ' to HTML-safe sequences.

Examples
USING: html.entities prettyprint ; "<foo>" html-escape .
"&lt;foo&gt;"


Definition