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