Sha256: cccab2136394708ccee6f70e0b8c3388acb740fc1f454c346b13f0d1ddfad0aa

Contents?: true

Size: 425 Bytes

Versions: 8

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true
require_relative 'template'
require 'wikicloth'

warn 'tilt/wikicloth is deprecated, as wikicloth requires modifying string literals', uplevel: 1

# WikiCloth implementation. See: https://github.com/nricciar/wikicloth
Tilt::WikiClothTemplate = Tilt::StaticTemplate.subclass do
  parser = @options.delete(:parser) || WikiCloth::Parser
  @options[:data] = @data
  parser.new(@options).to_html
end

Version data entries

8 entries across 7 versions & 4 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
brakeman-6.2.2 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
brakeman-6.2.2.rc1 bundle/ruby/3.3.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
brakeman-6.2.1 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
brakeman-6.2.0 bundle/ruby/3.1.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/tilt-2.4.0/lib/tilt/wikicloth.rb
tilt-2.4.0 lib/tilt/wikicloth.rb