summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/tokens.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/tokens.rb b/lib/coderay/tokens.rb
index 9342897..e3b3305 100644
--- a/lib/coderay/tokens.rb
+++ b/lib/coderay/tokens.rb
@@ -101,7 +101,7 @@ module CodeRay
unless kind_filter
super(&block)
else
- super do |text, kind|
+ super() do |text, kind|
next unless kind == kind_filter
yield text, kind
end