]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Unable to use angular braces after include word in c code highlighting (#1230).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 May 2008 19:12:17 +0000 (19:12 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 29 May 2008 19:12:17 +0000 (19:12 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1476 e93f8b46-1217-0410-a6f0-8f06a7374b81

vendor/plugins/coderay-0.7.6.227/lib/coderay/scanners/c.rb

index f6d71ade228dfe8f043ff618f4a25d5647ec6b91..e5d87b23399e36aa4be5f74a5495bc672d1e301c 100644 (file)
@@ -122,7 +122,7 @@ module Scanners
           end
 
         when :include_expected
-          if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
+          if scan(/[^\n]+/)
             kind = :include
             state = :initial