1
0
claylibrarymarket 2 жил өмнө
parent
commit
de76be4e6c

+ 1 - 1
src/basic-languages/twig/twig.ts

@@ -104,7 +104,7 @@ export const language = <languages.IMonarchLanguage>{
 			[/(<)((?:[\w\-]+:)?[\w\-]+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],
 			[/(<\/)((?:[\w\-]+:)?[\w\-]+)/, ['delimiter.html', { token: 'tag.html', next: '@otherTag' }]],
 			[/</, 'delimiter.html'],
-			[/[^<]+/] // text
+			[/[^<{]+/] // text
 		],
 
 		/**