From 9eba0c7decb383e3ef73a3fee375e725442cde56 Mon Sep 17 00:00:00 2001 From: murphy Date: Mon, 19 Oct 2009 17:34:39 +0000 Subject: Updating scanners: Ruby 1.9 warnings, KINDS_NOT_LOC * Also, DATABASE is a SQL keyword. --- lib/coderay/scanners/nitro_xhtml.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/coderay/scanners/nitro_xhtml.rb') diff --git a/lib/coderay/scanners/nitro_xhtml.rb b/lib/coderay/scanners/nitro_xhtml.rb index 7087ffa..356e049 100644 --- a/lib/coderay/scanners/nitro_xhtml.rb +++ b/lib/coderay/scanners/nitro_xhtml.rb @@ -12,6 +12,8 @@ module Scanners file_extension :xhtml title 'Nitro XHTML' + KINDS_NOT_LOC = HTML::KINDS_NOT_LOC + NITRO_RUBY_BLOCK = / <\?r (?> -- cgit v1.2.1