To suppress errors for templating languages I'm using TemplateLanguageErrorFilter. But it works for prefix errors only.
How should I handle postfix errors like on the screenshot below?
We can see here, that JSIfStatement recovery eaten template and <. And then we've got an error. So, exactly same approach as for prefix errors won't work here, because it's depends on parser recovery process. Of course, I could fix exactly this bug, but would be nice if someone could suggest something more general.