Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
Bilal_io
2y ago
0 comments
Save
Share
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.
0 comments
4 comments · 3 top-level
top
newest
oldest
MrJohz
2y ago
· 1 in thread
This is true of Svelte's syntax as well, is it not?
Bilal_io
OP
2y ago
Not really on:click is not valid HTML
nsonha
2y ago
> HTML parser can tell you it's syntactically correct
Which is completely useless because your website doesn't work anyway
diob
2y ago
Oh, that makes sense, I get you now.
j
/
k
navigate · click thread line to collapse