Explorar o código

Update twig.ts

claylibrarymarket %!s(int64=2) %!d(string=hai) anos
pai
achega
de76be4e6c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/basic-languages/twig/twig.ts

+ 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
 		],
 
 		/**