HTML Entity Encoder/Decoder

Encode turns plain text into safe HTML escapes. Decode turns entity text (e.g. <) back using the browser's HTML parser.