summaryrefslogtreecommitdiff
path: root/lib/coderay
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay')
-rw-r--r--lib/coderay/for_redcloth.rb1
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