annotate vendor/gems/coderay-0.9.7/lib/coderay/encoders/page.rb @ 777:facded821cee feature_14

Fixes Bug #321 - testing for true as a string in the controller; test the status of the fieldsets before toggling them in the js script.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Thu, 17 Nov 2011 22:12:45 +0000
parents 0579821a129a
children
rev   line source
Chris@0 1 module CodeRay
Chris@0 2 module Encoders
Chris@0 3
Chris@0 4 load :html
Chris@0 5
Chris@0 6 class Page < HTML
Chris@0 7
Chris@0 8 FILE_EXTENSION = 'html'
Chris@0 9
Chris@0 10 register_for :page
Chris@0 11
Chris@0 12 DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \
Chris@0 13 :css => :class,
Chris@0 14 :wrap => :page,
Chris@0 15 :line_numbers => :table
Chris@0 16
Chris@0 17 end
Chris@0 18
Chris@0 19 end
Chris@0 20 end