From: Josh Roesslein Date: Mon, 12 Oct 2009 05:21:25 +0000 (-0500) Subject: Give credit to Fredrik Lundh for html unescape code. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c53e9252dad6fa554323353f1094154ebeef1d75;p=tweepy.git Give credit to Fredrik Lundh for html unescape code. --- diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a49cbf5..de71b49 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -6,3 +6,5 @@ Mark Lango - Ignore key arguments with value of None Pascal Jurgens - Streaming API fix +Fredrik Lundh + - html unescape (http://effbot.org/zone/re-sub.htm#unescape-html) diff --git a/tweepy/parsers.py b/tweepy/parsers.py index 84fcf53..739d303 100644 --- a/tweepy/parsers.py +++ b/tweepy/parsers.py @@ -43,6 +43,7 @@ def _parse_search_datetime(str): def unescape_html(text): + """Created by Fredrik Lundh (http://effbot.org/zone/re-sub.htm#unescape-html)""" def fixup(m): text = m.group(0) if text[:2] == "&#":