htmlEscape

fun String.htmlEscape(): String

Replaces symbols reserved in HTML with their respective entities. Replaces & with &, < with < and with >