From d7f0a0011dd8f2629c4071b8d3cb0004bb9e2a99 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 15 Apr 2006 03:48:36 +0000 Subject: styles/_map.rb added. :cycnus is now default style. html/css.rb adjusted. ROADMAP and TODO updated. Ruby scanner: Fixed a bug: Fancy strings don't allow \w delimiters. They _do_ also allow whitespace delimiters, but adding this would cause many scan errors. So I leave this bug unfixed. --- lib/coderay/encoders/html/css.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/coderay/encoders') diff --git a/lib/coderay/encoders/html/css.rb b/lib/coderay/encoders/html/css.rb index e938e07..ad055aa 100644 --- a/lib/coderay/encoders/html/css.rb +++ b/lib/coderay/encoders/html/css.rb @@ -3,12 +3,9 @@ module CodeRay module Encoders class HTML class CSS - DEFAULT_STYLESHEET_ID = :cycnus - attr :stylesheet - def CSS.load_stylesheet style = :default - style = DEFAULT_STYLESHEET_ID if style == :default + def CSS.load_stylesheet style = nil CodeRay::Styles[style] end -- cgit v1.2.1