class Tilt::Redcarpet1Template

Compatibility mode for Redcarpet 1.x

def allows_script?

def allows_script?
  false
end

def evaluate(scope, locals, &block)

def evaluate(scope, locals, &block)
  @output ||= @engine.to_html
end

def flags

def flags
  FLAGS.select { |flag| options[flag] }.map { |flag| ALIAS[flag] || flag }
end

def prepare

def prepare
  @engine = RedcarpetCompat.new(data, *flags)
  @output = nil
end