instiki/vendor/plugins/erubis-2.6.5/lib/erubis/engine/enhanced.rb
Jacques Distler a5e08f7bcc Rails_xss Plugin
I installed the rails_xss plugin, for
the main purpose of seeing what will
break with Rails 3.0 (where the behaviour
of the plugin is the default). I think
I've fixed everything, but let me know if you
see stuff that is HTML-escaped, which
shouldn't be.

As a side benefit, we now use Erubis,
rather than ERB, to render templates.
They tell me it's faster ...
2010-05-26 00:27:49 -05:00

122 lines
1.6 KiB
Ruby

##
## $Release: 2.6.5 $
## copyright(c) 2006-2009 kuwata-lab.com all rights reserved.
##
require 'erubis/enhancer'
require 'erubis/engine/eruby'
module Erubis
#--
## moved to engine/ruby.rb
#class EscapedEruby < Eruby
# include EscapeEnhancer
#end
#++
#--
### (obsolete)
#class FastEruby < Eruby
# include FastEnhancer
#end
#++
class StdoutEruby < Eruby
include StdoutEnhancer
end
class PrintOutEruby < Eruby
include PrintOutEnhancer
end
class PrintEnabledEruby < Eruby
include PrintEnabledEnhancer
end
class ArrayEruby < Eruby
include ArrayEnhancer
end
class ArrayBufferEruby < Eruby
include ArrayBufferEnhancer
end
class StringBufferEruby < Eruby
include StringBufferEnhancer
end
class StringIOEruby < Eruby
include StringIOEnhancer
end
class ErboutEruby < Eruby
include ErboutEnhancer
end
class NoTextEruby < Eruby
include NoTextEnhancer
end
class NoCodeEruby < Eruby
include NoCodeEnhancer
end
class SimplifiedEruby < Eruby
include SimplifyEnhancer
end
class StdoutSimplifiedEruby < Eruby
include StdoutEnhancer
include SimplifyEnhancer
end
class PrintOutSimplifiedEruby < Eruby
include PrintOutEnhancer
include SimplifyEnhancer
end
class BiPatternEruby < Eruby
include BiPatternEnhancer
end
class PercentLineEruby < Eruby
include PercentLineEnhancer
end
class HeaderFooterEruby < Eruby
include HeaderFooterEnhancer
end
class DeleteIndentEruby < Eruby
include DeleteIndentEnhancer
end
class InterpolationEruby < Eruby
include InterpolationEnhancer
end
end