Surma

Results 164 comments of Surma

I wouldn’t expect this to error at all. Duplicate attributes are perfectly valid HTML.

> duplicate attributes are still not valid syntax in HTML. That’s not true. As far as I can tell from the HTML parser spec, it’s _definitely_ not a syntactic error...

If the same attribute is specified multiple times, the _first_ one wins. I am running into this because I’m using vite to optimize and bundle the output from 11ty. Lots...

TIL! I don’t know why I didn’t find that previously. Thanks for providing it. I have no spec-level leg to stand on, but I would consider Postel’s law here, as...

> One possible solution is that clicking on the type should go to the declaration of ServeDirOptions in the source. I don't think we should show it on the documentation...

@StEvUgnIn Take a look at the code samples. The _imported functions_ can return promises with this PR.

> I think you can review it in 1 minute. I already did :D Consider it accepted.

Yeah, I saw that, too, but none of the demos work currently. They error with a somewhat cryptic ā€œglobalā€ error. So I was planning to only switch the flag once...

PRs are _very_ welcome for this! Thanks a lot!

I wanna land this, but haven’t looked into GitHub actions at all. I hope I can get around to this soon!