Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix ASCII encoding error while using print u'\u010c' non-ASCII char a…

…nd similar.
  • Loading branch information...
commit 31ed99536d478ca4f631e27f5d7f0eb7123abe4a 1 parent eee42c6
@zejn zejn authored defunkt committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/github/commands/rest2html
View
3  lib/github/commands/rest2html
@@ -42,7 +42,8 @@ def main():
parts = publish_parts(text, writer=Writer(), settings_overrides=SETTINGS)
if 'html_body' in parts:
- return parts['html_body']
+ html = parts['html_body']
+ return html.encode('utf-8')
return ''
if __name__ == '__main__':
Please sign in to comment.
Something went wrong with that request. Please try again.