encode_html multimethod

Methods

encode_html(s:Str) Source: stdlib.ngs:6449
Encodes HTML. Escapes &, < and > .

Returns

Str

Example

"ab>+c%&'".encode_html()  # "ab&gt;+c%&amp;'"