diff options
-rw-r--r-- | wrapper.rb | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -7,7 +7,8 @@ module CMark end def markdown_to_html(s) - CMark::cmark_markdown_to_html(s, s.length) + len = s.bytes.length + CMark::cmark_markdown_to_html(s, len) end print markdown_to_html(STDIN.read()); |