Hacker News new | ask | show | jobs
by Bilal_io 1073 days ago
I agree with you, it looks weird, but my point was that it's correct HTML syntax, even though you cannot expect it to work if you open an Angular template in a browser, but an HTML parser can tell you it's syntactically correct.
3 comments

> HTML parser can tell you it's syntactically correct

Which is completely useless because your website doesn't work anyway

This is true of Svelte's syntax as well, is it not?
Not really on:click is not valid HTML
Oh, that makes sense, I get you now.