From 889d50089d4d98db83ba5617b526da50107be661 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 15 Aug 2007 20:20:18 +0000 Subject: Added syntax highlightment for repository files (using CodeRay). Supported languages: c, ruby, rhtml, yaml, html, xml. git-svn-id: http://redmine.rubyforge.org/svn/trunk@644 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- .../coderay-0.7.6.227/lib/coderay/scanners/xml.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/xml.rb (limited to 'vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/xml.rb') diff --git a/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/xml.rb b/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/xml.rb new file mode 100644 index 000000000..ff923fbf5 --- /dev/null +++ b/vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/xml.rb @@ -0,0 +1,18 @@ +module CodeRay +module Scanners + + load :html + + # XML Scanner + # + # $Id$ + # + # Currently this is the same scanner as Scanners::HTML. + class XML < HTML + + register_for :xml + + end + +end +end -- cgit v1.2.3