Mercurial > hg > soundsoftware-site
annotate .svn/pristine/a7/a7710803d5ef1ace984d544cc34e7fc655530e5c.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 module CodeRay |
Chris@909 | 2 module Encoders |
Chris@909 | 3 |
Chris@909 | 4 load :html |
Chris@909 | 5 |
Chris@909 | 6 # Wraps HTML output into a SPAN element, using inline styles by default. |
Chris@909 | 7 # |
Chris@909 | 8 # See Encoders::HTML for available options. |
Chris@909 | 9 class Span < HTML |
Chris@909 | 10 |
Chris@909 | 11 FILE_EXTENSION = 'span.html' |
Chris@909 | 12 |
Chris@909 | 13 register_for :span |
Chris@909 | 14 |
Chris@909 | 15 DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ |
Chris@909 | 16 :css => :style, |
Chris@909 | 17 :wrap => :span, |
Chris@909 | 18 :line_numbers => false |
Chris@909 | 19 |
Chris@909 | 20 end |
Chris@909 | 21 |
Chris@909 | 22 end |
Chris@909 | 23 end |