diff options
author | murphy <murphy@rubychan.de> | 2009-02-18 19:39:26 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-02-18 19:39:26 +0000 |
commit | df8bccf987e636d442e43f8c704d750f6519bd3f (patch) | |
tree | 392bef3e25fc876b94bb5cc552033f3d9e24d5d3 /lib/coderay | |
parent | 89c23fd2685f0a99993877ad7a0a576d56e75c62 (diff) | |
download | coderay-df8bccf987e636d442e43f8c704d750f6519bd3f.tar.gz |
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.
Diffstat (limited to 'lib/coderay')
-rw-r--r-- | lib/coderay/for_redcloth.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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] ? '' : "<pre#{pba(opts)}>" end def bc_close(opts) # :nodoc: + opts = @in_bc @in_bc = nil opts[:lang] ? '' : "</pre>\n" end |