Comment

Comment by schemescape

I didn’t see anything about escaping values going into template literals. Did I miss it?

That seems important for anything involving user input.

Edit: Escaping rules also differ on context (HTML, attribute, URIs, script tags, etc.), so it’s not trivial.

parent schemescape 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton