Mercurial > hg > soundsoftware-site
annotate vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb @ 502:b9f81065a8e1 cannam
Merge from branch "feature_142"
author | Chris Cannam |
---|---|
date | Wed, 13 Jul 2011 14:37:14 +0100 |
parents | 0579821a129a |
children |
rev | line source |
---|---|
Chris@0 | 1 module CodeRay |
Chris@0 | 2 module Scanners |
Chris@0 | 3 |
Chris@0 | 4 load :html |
Chris@0 | 5 |
Chris@0 | 6 # XML Scanner |
Chris@0 | 7 # |
Chris@0 | 8 # Currently this is the same scanner as Scanners::HTML. |
Chris@0 | 9 class XML < HTML |
Chris@0 | 10 |
Chris@0 | 11 register_for :xml |
Chris@0 | 12 file_extension 'xml' |
Chris@0 | 13 |
Chris@0 | 14 end |
Chris@0 | 15 |
Chris@0 | 16 end |
Chris@0 | 17 end |