diff options
author | murphy <murphy@rubychan.de> | 2006-04-15 03:48:36 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2006-04-15 03:48:36 +0000 |
commit | d7f0a0011dd8f2629c4071b8d3cb0004bb9e2a99 (patch) | |
tree | c515d94bda7650c1d40dab9aefa541ef9f9d4c7a /lib/coderay/encoders | |
parent | 5ee15661dbc2da70927f588e310315233aff6eea (diff) | |
download | coderay-d7f0a0011dd8f2629c4071b8d3cb0004bb9e2a99.tar.gz |
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.
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/html/css.rb | 5 |
1 files changed, 1 insertions, 4 deletions
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
|