|
@@ -38,9 +38,9 @@ |
|
|
block discarded – undo |
|
38
|
38
|
new OpenRule(new RegexMatcher('/(<[\w\.-]+)[:\/>:\s]/')), |
|
39
|
39
|
new CloseRule(new SubStringMatcher('>'), ['context' => ['!string', '!comment']]), |
|
40
|
40
|
], |
|
41
|
|
- 'tag.close' => new Rule(new RegexMatcher('/(<\/' . self::IDENTIFIER . '>)/')), |
|
|
41
|
+ 'tag.close' => new Rule(new RegexMatcher('/(<\/'.self::IDENTIFIER.'>)/')), |
|
42
|
42
|
|
|
43
|
|
- 'symbol.tag' => new Rule(new RegexMatcher('/<\\/?' . self::IDENTIFIER . '/', [ |
|
|
43
|
+ 'symbol.tag' => new Rule(new RegexMatcher('/<\\/?'.self::IDENTIFIER.'/', [ |
|
44
|
44
|
'name' => Token::NAME, |
|
45
|
45
|
'namespace' => '$.namespace', |
|
46
|
46
|
]), ['context' => ['tag', '!string']]), |
Please login to merge, or discard this patch.