Revision: 7589 Author: xqt Date: 2009-11-04 08:41:30 +0000 (Wed, 04 Nov 2009)
Log Message: ----------- Do not unescape pagetext coming from API (bugfix for #2886547)
Modified Paths: -------------- trunk/pywikipedia/wikipedia.py
Modified: trunk/pywikipedia/wikipedia.py =================================================================== --- trunk/pywikipedia/wikipedia.py 2009-11-03 20:36:09 UTC (rev 7588) +++ trunk/pywikipedia/wikipedia.py 2009-11-04 08:41:30 UTC (rev 7589) @@ -782,7 +782,7 @@
self._isWatched = False #cannot handle in API in my research for now.
- pagetext = unescape(pageInfo['revisions'][0]['*']) + pagetext = pageInfo['revisions'][0]['*'] pagetext = pagetext.rstrip() if self.site().lang == 'eo': pagetext = decodeEsperantoX(pagetext)
pywikipedia-svn@lists.wikimedia.org