Ñò xT)Kc@sQdZddgddgddgddggZeZeiƒed „Zd S( s`This is a copy of the htmlEncode function in Webware. @@TR: It implemented more efficiently. t&s&ts>t"s"cCs/x(|D] }|i|d|dƒ}qW|S(s} Returns the HTML encoded version of the given string. This is useful to display a plain ASCII text string on a web page.ii(treplace(tstcodestcode((s>/usr/lib64/python2.6/site-packages/Cheetah/Utils/htmlEncode.pyt htmlEncodesN(t__doc__t htmlCodesthtmlCodesReversedtreverseR(((s>/usr/lib64/python2.6/site-packages/Cheetah/Utils/htmlEncode.pyts