mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 14:26:04 +01:00
Fixed: Unable to use angular braces after include word in c code highlighting (#1230).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1476 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -122,7 +122,7 @@ module Scanners
|
||||
end
|
||||
|
||||
when :include_expected
|
||||
if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
|
||||
if scan(/[^\n]+/)
|
||||
kind = :include
|
||||
state = :initial
|
||||
|
||||
|
||||
Reference in New Issue
Block a user