4 ms·
The point is you're susceptible to XSS attacks with that code. But with a "tagged template" it should be easy to treat the variables before actually doing the
by matsemann 3y ago
The point is you're susceptible to XSS attacks with that code.
But with a "tagged template" it should be easy to treat the variables before actually doing the templating, without making the code ugly.
- gabereiser 3y agoIt’s just an example