view .svn/pristine/f7/f72d15e7793c4539e89571293a216e4135d03c64.svn-base @ 1250:55a62689cc97 redmine-2.2-integration

printing the html correctly (not escaping it)
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 03 Apr 2013 15:55:50 +0100
parents cbb26bc654de
children
line wrap: on
line source
module CodeRay
module Encoders
  
  load :html
  
  # Wraps HTML output into a DIV element, using inline styles by default.
  # 
  # See Encoders::HTML for available options.
  class Div < HTML
    
    FILE_EXTENSION = 'div.html'
    
    register_for :div
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :style,
      :wrap         => :div,
      :line_numbers => false
    
  end
  
end
end