Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gdprrrr
on May 26, 2023
|
parent
|
context
|
favorite
| on:
That people produce HTML with string templates is ...
But this allows tagFunction to do correct escaping before concatenation, which help prevent those kind of bugs
troupo
on May 26, 2023
[–]
It allows it, but whoever implements the function has to do it ;)
Quite a lot of implementations for various DSLs just concatenate the strings :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: