From d2a880f331747a0764ebef408f2e2ab556d5d954 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 20 Jun 2009 16:14:07 +0000 Subject: * Improved implementation of Encoder *token callbacks. * Documentation for these methods. * Added two new encoders: CommentFilter < TokenFilter. * Simplified Text encoder. * Code cleanup in HTML encoder subclasses. --- lib/coderay/encoders/span.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/coderay/encoders/span.rb') diff --git a/lib/coderay/encoders/span.rb b/lib/coderay/encoders/span.rb index 988afec..319f6fd 100644 --- a/lib/coderay/encoders/span.rb +++ b/lib/coderay/encoders/span.rb @@ -9,10 +9,9 @@ module Encoders register_for :span - DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge({ + DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ :css => :style, - :wrap => :span, - }) + :wrap => :span end -- cgit v1.2.1