diff options
author | murphy <murphy@rubychan.de> | 2009-06-20 16:14:07 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-06-20 16:14:07 +0000 |
commit | d2a880f331747a0764ebef408f2e2ab556d5d954 (patch) | |
tree | a746a02d994328a7ac0b7893557cf109c826a0a5 /lib/coderay/encoders/div.rb | |
parent | 8283feed20943a6b7863a38bcd8f2266310c91c3 (diff) | |
download | coderay-d2a880f331747a0764ebef408f2e2ab556d5d954.tar.gz |
* 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.
Diffstat (limited to 'lib/coderay/encoders/div.rb')
-rw-r--r-- | lib/coderay/encoders/div.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/coderay/encoders/div.rb b/lib/coderay/encoders/div.rb index 3d55415..4120172 100644 --- a/lib/coderay/encoders/div.rb +++ b/lib/coderay/encoders/div.rb @@ -9,10 +9,9 @@ module Encoders register_for :div - DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge({ + DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ :css => :style, - :wrap => :div, - }) + :wrap => :div end |