comparison vendor/gems/coderay-1.0.0/lib/coderay/encoders/span.rb @ 909:cbb26bc654de redmine-1.3

Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author Chris Cannam
date Fri, 24 Feb 2012 19:09:32 +0000
parents
children
comparison
equal deleted inserted replaced
908:c6c2cbd0afee 909:cbb26bc654de
1 module CodeRay
2 module Encoders
3
4 load :html
5
6 # Wraps HTML output into a SPAN element, using inline styles by default.
7 #
8 # See Encoders::HTML for available options.
9 class Span < HTML
10
11 FILE_EXTENSION = 'span.html'
12
13 register_for :span
14
15 DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
16 :css => :style,
17 :wrap => :span,
18 :line_numbers => false
19
20 end
21
22 end
23 end