diff options
author | murphy <murphy@rubychan.de> | 2009-04-20 21:01:37 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2009-04-20 21:01:37 +0000 |
commit | ebcf3ab3e0814e4a0187ab23f3209ed162576ef8 (patch) | |
tree | c66d4ce0ca29636b641501369051470d8cd3a6b4 /lib/coderay | |
parent | 2b5a8db69e9b16235f02b5896a0680ba23fd38bd (diff) | |
download | coderay-ebcf3ab3e0814e4a0187ab23f3209ed162576ef8.tar.gz |
Updated some comments for XML and HTML encoder.
* XML encoder is actually broken! REXML fault?
* Firefox can handle long HTML tables now.
Diffstat (limited to 'lib/coderay')
-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 |