JS errors in templating language
I've implemented TemplateLanguage: HTML + Perl. But, have a little problem: if JS syntax is incorrect because of perl parts, it shows an error

Disabling inspections doesn't help.
Is there any way to avoid this?
请先登录再写评论。
Most likely it's because Django has an instance of TemplateLanguageErrorFilter which suppresses the errors. Or it can add something invisible to keep parser happy; investigating its PSI tree can help.
Works fine in Django btw
Works like a charm, thanks!