2007-08-16 00:20:18 +04:00
|
|
|
module CodeRay
|
|
|
|
module Encoders
|
|
|
|
|
|
|
|
load :html
|
|
|
|
|
|
|
|
class Div < HTML
|
|
|
|
|
|
|
|
FILE_EXTENSION = 'div.html'
|
|
|
|
|
|
|
|
register_for :div
|
|
|
|
|
2009-11-07 12:08:13 +03:00
|
|
|
DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
|
2007-08-16 00:20:18 +04:00
|
|
|
:css => :style,
|
2009-11-07 12:08:13 +03:00
|
|
|
:wrap => :div
|
2007-08-16 00:20:18 +04:00
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|