Wiki: Fix unicode encoding issue

This commit is contained in:
Andre D
2013-01-25 18:20:57 -05:00
committed by Neil Williams
parent a9a2463336
commit e3612b3d12

View File

@@ -258,7 +258,7 @@ def wikimarkdown(text):
renderer=snudown.RENDERER_WIKI)
# TODO: We should test how much of a load this adds to the app
soup = BeautifulSoup(text)
soup = BeautifulSoup(text.decode('utf-8'))
images = soup.findAll('img')
if images: