Commented out html encode/decode as it throws errors on unexpected
chars.