mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
parent
66a6d60901
commit
4dfbd4e344
@ -64,10 +64,10 @@ class ChangeLogMacro(WikiMacroBase):
|
||||
txt = bzr_log_to_txt().encode('ascii', 'xmlcharrefreplace')
|
||||
out = StringIO()
|
||||
Formatter(formatter.env, formatter.context).format(txt, out)
|
||||
return Markup(out.getvalue())
|
||||
return Markup(out.getvalue().decode('utf8'))
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
print bzr_log_to_txt()
|
||||
print bzr_log_to_txt()
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user