mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-28 00:07:57 -05:00
Wiki: Fix unicode encoding issue
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user