# File lib/albino.rb, line 90 def colorize(options = {}) out = execute(options).out # markdown requires block elements on their own line out.sub!(%r{</pre></div>\Z}, "</pre>\n</div>") # covert output to the encoding we told pygmentize to use out.force_encoding(@encoding) if out.respond_to?(:force_encoding) out end