summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/numbering.rb
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2011-08-19 05:39:45 +0200
commit36531238fa4ef33f1792c6ea6de5e00dcadf018a (patch)
treecca387c2b27dc23d71dab6bd928e10fcdc6cd46b /lib/coderay/encoders/html/numbering.rb
parent5dd7ca65fdb90d6ffe53790abf1fe5a29a66675e (diff)
downloadcoderay-36531238fa4ef33f1792c6ea6de5e00dcadf018a.tar.gz
pretty (longer) token class names; closes #347
Diffstat (limited to 'lib/coderay/encoders/html/numbering.rb')
-rw-r--r--lib/coderay/encoders/html/numbering.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/numbering.rb b/lib/coderay/encoders/html/numbering.rb
index 4e030fd..15ce11b 100644
--- a/lib/coderay/encoders/html/numbering.rb
+++ b/lib/coderay/encoders/html/numbering.rb
@@ -84,7 +84,7 @@ module Encoders
line_number_text = bolding.call line_number
indent = ' ' * (max_width - line_number.to_s.size) # TODO: Optimize (10^x)
line_number += 1
- "<span class=\"no\">#{indent}#{line_number_text}</span>#{open}#{line}#{close}\n"
+ "<span class=\"line-numbers\">#{indent}#{line_number_text}</span>#{open}#{line}#{close}\n"
end
when :table