Encode HTML Text

Encode a html string to be used as text on a page