feed: Use html.escape() instead of saxutils.escape()
authorW. Trevor King <wking@tremily.us>
Sun, 14 Apr 2013 13:25:30 +0000 (09:25 -0400)
committerW. Trevor King <wking@tremily.us>
Sun, 14 Apr 2013 13:25:30 +0000 (09:25 -0400)
commitf74bc7b3d3c185ca72380cb1634f16a882536ba7
tree022724f872f7c5fdd003a77e914e936f3cfced79
parent5d2fc6c49e908770209c2051509e7e069e74539a
feed: Use html.escape() instead of saxutils.escape()

html.escape() is new in Python 3.2 [1].  The effect is idential, but
this makes more sense semantically as we are escaping the entities to
use them in HTML, not in XML.

[1]: http://docs.python.org/3.2/library/html.html#html.escape

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/feed.py