3 ms·
Well, the main difference is in input sanitazation. Take a look at this example of latte docs: https://latte.nette.org/en/safety-first#toc-latte-vs-naive-system
by vojtech_richter 2y ago
Well, the main difference is in input sanitazation. Take a look at this example of latte docs: https://latte.nette.org/en/safety-first#toc-latte-vs-naive-systems https://latte.nette.org/en/safety-first#toc-latte-vs-naive-s....
Since different parts of user input have to be handled differently, you need to escape based on the context of the input. And that's exactly what latte does, whereas Blade or Twig escape everything the same way, no matter the context.