summaryrefslogtreecommitdiffabout
path: root/wikimarkup.py
Side-by-side diff
Diffstat (limited to 'wikimarkup.py') (more/less context) (ignore whitespace changes)
-rw-r--r--wikimarkup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikimarkup.py b/wikimarkup.py
index 2ef6be1..9371d89 100644
--- a/wikimarkup.py
+++ b/wikimarkup.py
@@ -850,13 +850,13 @@ class WikiMarkup (BaseWikiMarkup):
for kw in keywords:
if kw == 'file':
self.file = keywords[kw]
elif kw == 'filename':
self.file = open(keywords[kw])
elif kw == 'text':
- self.text = keywords[kw].split("\n")
+ self.text = keywords[kw].decode("utf-8").split("\n")
elif kw == 'lang':
self.lang = keywords[kw]
elif kw == 'html_base':
self.html_base = keywords[kw]
elif kw == 'image_base':
self.image_base = keywords[kw]

Return to:

Send suggestions and report system problems to the System administrator.