summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2013-06-10 01:44:16 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2013-06-10 01:44:16 +0200
commit4ffc0afac656bef8a897023711cad7f3ca92a5fc (patch)
tree6637d5a2f48078d9db6459e73306402c4ee4dddb /lib/coderay/encoders/html.rb
parent02e1bf3c236778197627fe9f9a7b3cf126825a8b (diff)
parent2de5dab7d59021622dabf4728e0b8123dc29da8a (diff)
downloadcoderay-4ffc0afac656bef8a897023711cad7f3ca92a5fc.tar.gz
Merge branch 'master' into bash-scanner
Diffstat (limited to 'lib/coderay/encoders/html.rb')
-rw-r--r--lib/coderay/encoders/html.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/coderay/encoders/html.rb b/lib/coderay/encoders/html.rb
index 635a4d8..0fd1317 100644
--- a/lib/coderay/encoders/html.rb
+++ b/lib/coderay/encoders/html.rb
@@ -286,8 +286,7 @@ module Encoders
def end_group kind
if $CODERAY_DEBUG && (@opened.empty? || @opened.last != kind)
- warn 'Malformed token stream: Trying to close a token (%p) ' \
- 'that is not open. Open are: %p.' % [kind, @opened[1..-1]]
+ warn 'Malformed token stream: Trying to close a token group (%p) that is not open. Open are: %p.' % [kind, @opened[1..-1]]
end
if @opened.pop
@out << '</span>'
@@ -312,8 +311,7 @@ module Encoders
def end_line kind
if $CODERAY_DEBUG && (@opened.empty? || @opened.last != kind)
- warn 'Malformed token stream: Trying to close a line (%p) ' \
- 'that is not open. Open are: %p.' % [kind, @opened[1..-1]]
+ warn 'Malformed token stream: Trying to close a line (%p) that is not open. Open are: %p.' % [kind, @opened[1..-1]]
end
if @opened.pop
@out << '</span>'