3 ms·
As far as I know, most templating frameworks (php or otherwise) don't really solve this either. PHP's native templating is perhaps prone to more issues in this
by tyingq 10y ago
As far as I know, most templating frameworks (php or otherwise) don't really solve this either.
PHP's native templating is perhaps prone to more issues in this area, but template frameworks (for the most part) still allow you shoot yourself in the foot with data contained in strings.
- combatentropy 10y agoMost templates I've seen escape HTML by default. You have to type something extra to unescape it.