view vendor/gems/coderay-0.9.7/lib/coderay/scanners/xml.rb @ 503:5d608412b003 feature_212

Pull out font name specifications from stylesheets and serve differently to different platforms (falling back to our usual web fonts). Fixes #212
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 14 Jul 2011 10:14:03 +0100
parents 0579821a129a
children
line wrap: on
line source
module CodeRay
module Scanners

  load :html

  # XML Scanner
  #
  # Currently this is the same scanner as Scanners::HTML.
  class XML < HTML

    register_for :xml
    file_extension 'xml'
    
  end

end
end