summaryrefslogtreecommitdiff
path: root/lib/coderay/encoders/html/numerization.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoders/html/numerization.rb')
-rw-r--r--lib/coderay/encoders/html/numerization.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/coderay/encoders/html/numerization.rb b/lib/coderay/encoders/html/numerization.rb
index 7058edd..5bfcc2d 100644
--- a/lib/coderay/encoders/html/numerization.rb
+++ b/lib/coderay/encoders/html/numerization.rb
@@ -77,11 +77,9 @@ module Encoders
# FIXME Still not working perfect for Mr. Internet Exploder
line_numbers = (start ... start + line_count).to_a.map(&bolding).join("\n")
line_numbers << "\n" # also for Mr. MS Internet Exploder :-/
- line_numbers.gsub!(/\n/) { "<tt>\n</tt>" }
line_numbers_table_tpl = TABLE.apply('LINE_NUMBERS', line_numbers)
gsub!(/<\/div>\n/) { '</div>' }
- gsub!(/\n/) { "<tt>\n</tt>" }
wrap_in! line_numbers_table_tpl
@wrapped_in = :div