mirror of
https://github.com/redmine/redmine.git
synced 2025-11-08 22:36:02 +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
|
end
|
||||||
|
|
||||||
when :include_expected
|
when :include_expected
|
||||||
if scan(/<[^>\n]+>?|"[^"\n\\]*(?:\\.[^"\n\\]*)*"?/)
|
if scan(/[^\n]+/)
|
||||||
kind = :include
|
kind = :include
|
||||||
state = :initial
|
state = :initial
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user