Cheetah.Utils.htmlEncode module¶
This is a copy of the htmlEncode function in Webware.
@@TR: It implemented more efficiently.
- Cheetah.Utils.htmlEncode.htmlEncode(s, codes=[['&', '&'], ['<', '<'], ['>', '>'], ['"', '"']])¶
Returns the HTML encoded version of the given string. This is useful to display a plain ASCII text string on a web page.