WICG / import-maps

How to control the behavior of JavaScript imports
https://html.spec.whatwg.org/multipage/webappapis.html#import-maps
Other
2.65k stars 69 forks source link

In "the script’s type", the ’ is actually an unicode U+2019, instead of an ascii ' #269

Closed allstarschh closed 2 years ago

allstarschh commented 2 years ago

https://wicg.github.io/import-maps/#ref-for-concept-script-type②

the script’s type

The ’ character is actually not an ascii, it's an U+2019 unicode character (RIGHT SINGLE QUOTATION MARK).

From The HTML spec, https://html.spec.whatwg.org/multipage/scripting.html#concept-script-type

The script's type

It's using the ascii character, U+0027 APOSTROPHE

Same for the occurrences of element's

element’s

(Notice this when I copy-paste the spec while editing a file whose encoding is ascii.)

domenic commented 2 years ago

Yeah, this is an artifact of the spec tooling we use, Bikeshed. (Specifically: https://tabatkins.github.io/bikeshed/#typography .) There's not much we can do about it, sadly.

ljharb commented 2 years ago

What's wrong with that tho? Straight quotes aren't correct in prose anyways. I'd expect it to be