diff options
Diffstat (limited to 'lib/coderay/encoders')
-rw-r--r-- | lib/coderay/encoders/html/numerization.rb | 1 | ||||
-rw-r--r-- | lib/coderay/encoders/xml.rb | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/lib/coderay/encoders/html/numerization.rb b/lib/coderay/encoders/html/numerization.rb index 0b6cf7a..7058edd 100644 --- a/lib/coderay/encoders/html/numerization.rb +++ b/lib/coderay/encoders/html/numerization.rb @@ -75,7 +75,6 @@ module Encoders # Because even monospace fonts seem to have different heights when bold, # I make the newline bold, both in the code and the line numbers. # FIXME Still not working perfect for Mr. Internet Exploder - # FIXME Firefox struggles with very long codes (> 200 lines) 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>" } diff --git a/lib/coderay/encoders/xml.rb b/lib/coderay/encoders/xml.rb index dffa98c..33964dc 100644 --- a/lib/coderay/encoders/xml.rb +++ b/lib/coderay/encoders/xml.rb @@ -29,6 +29,7 @@ module Encoders end def finish options + # FIXME: broken! @doc.write @out, options[:pretty], options[:transitive], true @out end |