Sha256: 5f8899dfdcb554b733b629d0b6cc9d31dfbe6114e5a63cee77d3717d3b3cd41f

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

require 'albino'

class Gollum::Albino < Albino
  def self.bin
    Albino.bin
  end

  def bin
    Albino.bin
  end

  def colorize(options = {})
    html = super.to_s
    html.sub!(%r{</pre></div>\Z}, "</pre>\n</div>")
    html
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
gollum-1.1.0 lib/gollum/albino.rb
tecnh-gollum-1.0.2.auth2 lib/gollum/albino.rb
tecnh-gollum-1.0.2.auth lib/gollum/albino.rb
gollum-1.0.1 lib/gollum/albino.rb
gollum-1.0.0 lib/gollum/albino.rb