From df8bccf987e636d442e43f8c704d750f6519bd3f Mon Sep 17 00:00:00 2001 From: murphy Date: Wed, 18 Feb 2009 19:39:26 +0000 Subject: Fixed a bug in for_redcloth.rb (closes #87). * No more closing PRE tags in RedCloth output. * Added j, j19, and test:functional:all tasks. --- lib/coderay/for_redcloth.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/coderay') diff --git a/lib/coderay/for_redcloth.rb b/lib/coderay/for_redcloth.rb index dde00cc..f5dcf3f 100644 --- a/lib/coderay/for_redcloth.rb +++ b/lib/coderay/for_redcloth.rb @@ -48,6 +48,7 @@ module CodeRay opts[:lang] ? '' : "" end def bc_close(opts) # :nodoc: + opts = @in_bc @in_bc = nil opts[:lang] ? '' : "\n" end -- cgit v1.2.1