summaryrefslogtreecommitdiff
path: root/lib/coderay/scanners/_map.rb
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2006-04-04 13:23:02 +0000
committermurphy <murphy@rubychan.de>2006-04-04 13:23:02 +0000
commit132b75e58dba4c93278721d60f177cfbee7d0e46 (patch)
treed4491961c01b9c9b91e7d3c25fefa4a4b5c5c5de /lib/coderay/scanners/_map.rb
parent0d919d07f67166981cea476e1febbc40af2eae9c (diff)
downloadcoderay-132b75e58dba4c93278721d60f177cfbee7d0e46.tar.gz
Added HTML scanner!
Added test/html/suite.rb and tolkien.in.html test. Benchmark produces inline line numbers now. Minor changes to Ruby and C scanners. Rakefile: unit tests now in -d mode.
Diffstat (limited to 'lib/coderay/scanners/_map.rb')
-rw-r--r--lib/coderay/scanners/_map.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/coderay/scanners/_map.rb b/lib/coderay/scanners/_map.rb
index 811546b..fc53d91 100644
--- a/lib/coderay/scanners/_map.rb
+++ b/lib/coderay/scanners/_map.rb
@@ -4,7 +4,9 @@ module CodeRay
map :cpp => :c,
:plain => :plaintext,
:pascal => :delphi,
- :irb => :ruby
+ :irb => :ruby,
+ :xml => :html,
+ :xhtml => :html
end
end