Sha256: 132c246a48d6e191d706ac463dc634855f43aeecfd426c4f4cfb7ac21bb1608f

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

# This shouldn't exist but I can't find any other way to prevent redcarpet from complaining

require 'redcarpet'
class RedcarpetCompat
  def to_html(*_dummy)
    @markdown.render(@text.force_encoding('utf-8'))
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gitdocs-0.4.5 lib/gitdocs/rendering.rb