File tree Expand file tree Collapse file tree 2 files changed +38
-24
lines changed Expand file tree Collapse file tree 2 files changed +38
-24
lines changed Original file line number Diff line number Diff line change @@ -240,15 +240,19 @@ patterns:
240240
241241repository :
242242
243-   entities :
243+   string- entities :
244244    patterns :
245245    - name : constant.character.entity.html 
246246      match : (&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;) 
247247      captures :
248248        ' 1 '  : {name: punctuation.definition.entity.html} 
249249        ' 3 '  : {name: punctuation.definition.entity.html} 
250+ 
251+   entities :
252+     patterns :
250253    - name : invalid.illegal.bad-ampersand.html 
251254      match : ' &' 
255+     - include : ' #string-entities' 
252256
253257  string-double-quoted :
254258    name : string.quoted.double.html 
@@ -259,7 +263,7 @@ repository:
259263    endCaptures :
260264      ' 0 '  : {name: punctuation.definition.string.end.html} 
261265    patterns :
262-     - include : ' #entities' 
266+     - include : ' #string- entities' 
263267
264268  string-single-quoted :
265269    name : string.quoted.single.html 
@@ -270,7 +274,7 @@ repository:
270274    endCaptures :
271275      ' 0 '  : {name: punctuation.definition.string.end.html} 
272276    patterns :
273-     - include : ' #entities' 
277+     - include : ' #string- entities' 
274278
275279  tag-generic-attribute :
276280    name : entity.other.attribute-name.html 
Original file line number Diff line number Diff line change 796796		<dict  >
797797			<key  >patterns </key  >
798798			<array  >
799- 				<dict  >
800- 					<key  >captures </key  >
801- 					<dict  >
802- 						<key  >1 </key  >
803- 						<dict  >
804- 							<key  >name </key  >
805- 							<string  >punctuation.definition.entity.html </string  >
806- 						</dict  >
807- 						<key  >3 </key  >
808- 						<dict  >
809- 							<key  >name </key  >
810- 							<string  >punctuation.definition.entity.html </string  >
811- 						</dict  >
812- 					</dict  >
813- 					<key  >match </key  >
814- 					<string  >(& )([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;) </string  >
815- 					<key  >name </key  >
816- 					<string  >constant.character.entity.html </string  >
817- 				</dict  >
818799				<dict  >
819800					<key  >match </key  >
820801					<string  >&  </string  >
821802					<key  >name </key  >
822803					<string  >invalid.illegal.bad-ampersand.html </string  >
823804				</dict  >
805+ 				<dict  >
806+ 					<key  >include </key  >
807+ 					<string  >#string-entities </string  >
808+ 				</dict  >
824809			</array  >
825810		</dict  >
826811		<key  >string-double-quoted </key  >
851836			<array  >
852837				<dict  >
853838					<key  >include </key  >
854- 					<string  >#entities </string  >
839+ 					<string  >#string-entities </string  >
840+ 				</dict  >
841+ 			</array  >
842+ 		</dict  >
843+ 		<key  >string-entities </key  >
844+ 		<dict  >
845+ 			<key  >patterns </key  >
846+ 			<array  >
847+ 				<dict  >
848+ 					<key  >captures </key  >
849+ 					<dict  >
850+ 						<key  >1 </key  >
851+ 						<dict  >
852+ 							<key  >name </key  >
853+ 							<string  >punctuation.definition.entity.html </string  >
854+ 						</dict  >
855+ 						<key  >3 </key  >
856+ 						<dict  >
857+ 							<key  >name </key  >
858+ 							<string  >punctuation.definition.entity.html </string  >
859+ 						</dict  >
860+ 					</dict  >
861+ 					<key  >match </key  >
862+ 					<string  >(& )([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;) </string  >
863+ 					<key  >name </key  >
864+ 					<string  >constant.character.entity.html </string  >
855865				</dict  >
856866			</array  >
857867		</dict  >
883893			<array  >
884894				<dict  >
885895					<key  >include </key  >
886- 					<string  >#entities </string  >
896+ 					<string  >#string- entities </string  >
887897				</dict  >
888898			</array  >
889899		</dict  >
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments