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?
Please sign in to leave a comment.
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!