diff options
author | murphy <murphy@rubychan.de> | 2010-01-06 22:45:24 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2010-01-06 22:45:24 +0000 |
commit | 5e1a22755ed0630ea0c09111c77253f45b215789 (patch) | |
tree | 5860af05672aa5e76f711526c934beb776c576a7 | |
parent | e38e871cbda13a272f8255c70f46f08d14c06432 (diff) | |
download | coderay-5e1a22755ed0630ea0c09111c77253f45b215789.tar.gz |
Encoders::HTML#token's second parameter is no longer optional.
-rw-r--r-- | lib/coderay/encoders/html.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb index 89290d0..ffbc6ca 100644 --- a/lib/coderay/encoders/html.rb +++ b/lib/coderay/encoders/html.rb @@ -237,7 +237,7 @@ module Encoders super end - def token text, type = :plain + def token text, type case text when nil |