Sha256: 4116cfc352703320f811c4c800d4414559cd550c05182293b4c0c36945bbb284
Contents?: true
Size: 401 Bytes
Versions: 6
Compression:
Stored size: 401 Bytes
Contents
# ~*~ encoding: utf-8 ~*~ class Gollum::Filter::Render < Gollum::Filter def extract(data) begin data = GitHub::Markup.render(@markup.name, data) if data.nil? raise "There was an error converting #{@markup.name} to HTML." end rescue Object => e data = html_error("Failed to render page: #{e.message}") end data end def process(d) d end end
Version data entries
6 entries across 6 versions & 1 rubygems