all repos — markup @ 31ed99536d478ca4f631e27f5d7f0eb7123abe4a

The code we use to render README.your_favorite_markup

Fix ASCII encoding error while using print u'\u010c' non-ASCII char and similar.
Gasper Zejn zejn@kiberpipa.org
Fri, 19 Mar 2010 19:47:27 +0800
commit

31ed99536d478ca4f631e27f5d7f0eb7123abe4a

parent

eee42c699b63123cc90fd839a64a6ac18eb478d6

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M lib/github/commands/rest2htmllib/github/commands/rest2html

@@ -42,7 +42,8 @@ text = sys.stdin.read()

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__':