Skip to content

Instantly share code, notes, and snippets.

Last active December 6, 2015 19:03
What would you like to do?
# reproducable code for
# (redcarpet-3.3.3, Windows 10 x64)
require 'redcarpet'
class TestRenderer < Redcarpet::Render::HTML
def emphasis(text)
"a" * 117
markdown =
puts markdown.render("*a*\n# aaa")
# expected: <h1>a</h1>
# actual: a</h1>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment