From 132b75e58dba4c93278721d60f177cfbee7d0e46 Mon Sep 17 00:00:00 2001 From: murphy Date: Tue, 4 Apr 2006 13:23:02 +0000 Subject: 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. --- lib/coderay/scanners/_map.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/coderay/scanners/_map.rb') 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 -- cgit v1.2.1