diff options
author | murphy <murphy@rubychan.de> | 2010-03-31 20:08:18 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-03-31 20:08:18 +0000 |
commit | dcf160f17b548de3360728376f1bf8efe2dfe09d (patch) | |
tree | 9a6043847b686b05ba4d79c1afbf34fe4151c438 | |
parent | 2ec0bd0aab31ba9384e7871d79f1b0048df982d6 (diff) | |
download | coderay-dcf160f17b548de3360728376f1bf8efe2dfe09d.tar.gz |
Use new :alpha style be default. This means IE will have problems with the colors.
-rw-r--r-- | Changes.textile | 4 | ||||
-rw-r--r-- | lib/coderay/encoders/html.rb | 2 | ||||
-rw-r--r-- | lib/coderay/styles/_map.rb | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/Changes.textile b/Changes.textile index 0625234..e645c65 100644 --- a/Changes.textile +++ b/Changes.textile @@ -26,6 +26,10 @@ h3. @Encoders::CommentFilter@ * *NEW* alias @:remove_comments@. +h3. @Encoders::HTML@ + +* *CHANGED* the default style to @:alpha@. + h3. @Encoders::Terminal@ * *RENAMED* from @Encoders::Term@, added @:term@ alias. diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index f1fe7ce..d43805d 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -91,7 +91,7 @@ module Encoders :css => :class, - :style => :cycnus, + :style => :alpha, :wrap => nil, :title => 'CodeRay output', diff --git a/lib/coderay/styles/_map.rb b/lib/coderay/styles/_map.rb index 52035fe..5e69f72 100644 --- a/lib/coderay/styles/_map.rb +++ b/lib/coderay/styles/_map.rb @@ -1,7 +1,7 @@ module CodeRay module Styles - default :cycnus + default :alpha end end |