From 5def035f13086b4c764937a53a70b8cf7b97159b Mon Sep 17 00:00:00 2001 From: murphy Date: Fri, 4 Nov 2005 01:39:53 +0000 Subject: First victim of the Demo Tests: Bugfix in tokens.rb! --- lib/coderay/tokens.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/coderay') 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 -- cgit v1.2.1