module Banzai module Renderer module Redcarpet class HTML < ::Redcarpet::Render::HTML def block_code(code, lang) lang_attr = lang ? %Q{ lang="#{lang}"} : '' "\n
" \
"#{ERB::Util.html_escape(code)}
" \
"
"
end
end
end
end
end