view .svn/pristine/a7/a7710803d5ef1ace984d544cc34e7fc655530e5c.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 SPAN element, using inline styles by default.
  # 
  # See Encoders::HTML for available options.
  class Span < HTML
    
    FILE_EXTENSION = 'span.html'
    
    register_for :span
    
    DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
      :css          => :style,
      :wrap         => :span,
      :line_numbers => false
    
  end
  
end
end