Skip to content

Conversation

siiptuo
Copy link
Contributor

@siiptuo siiptuo commented Aug 6, 2020

Sanity check:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

  • Are you doing the PR on the next branch?

If the change is a new feature or adding to/changing an existing one:

  • Have you created/updated the relevant documentation page(s)?
siiptuo added 2 commits August 6, 2020 17:53
Not widely used but in many cases quotes in attributes are optional.
@Keats
Copy link
Collaborator

Keats commented Aug 6, 2020

Is that even valid HTML? :o

@siiptuo
Copy link
Contributor Author

siiptuo commented Aug 6, 2020

I'm pretty sure it's valid because HTML Living Standard itself doesn't use quotes.

@Keats
Copy link
Collaborator

Keats commented Aug 6, 2020

I'm pretty sure it's valid because HTML Living Standard itself doesn't use quotes.

It does? I see all the ids between double quotes in the console

@siiptuo
Copy link
Contributor Author

siiptuo commented Aug 6, 2020

Here's the relevant part of the specification: https://html.spec.whatwg.org/#unquoted

I'm pretty sure it's valid because HTML Living Standard itself doesn't use quotes.

It does? I see all the ids between double quotes in the console

I mean quotes are not used in the actual HTML source of the specification. Browser developer tools usually display double quotes when inspecting the DOM.

@Keats Keats merged commit 4a3c156 into getzola:next Aug 7, 2020
@Keats
Copy link
Collaborator

Keats commented Aug 7, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants