- Commit
- cf69456c3db9ea0f76443f7fdc187ddc2e276e6d
- Parent
- 7d8e43ca4b389ee03e4afaf87f2aa1bb4474cffc
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
wrapper.py: made executable, fixed final newline.
My personal build of CMark ✏️
wrapper.py: made executable, fixed final newline.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | wrapper.py | 2 | 1 | 1 |
diff --git a/wrapper.py b/wrapper.py @@ -20,4 +20,4 @@ markdown.argtypes = [c_char_p] def md2html(text): return markdown(text, len(text)) -print md2html(sys.stdin.read()) +sys.stdout.write(md2html(sys.stdin.read()))