Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zero-width spaces in spec html #1214

Closed
svenvh opened this issue Jul 17, 2024 · 1 comment · Fixed by #1228
Closed

Zero-width spaces in spec html #1214

svenvh opened this issue Jul 17, 2024 · 1 comment · Fixed by #1228
Assignees

Comments

@svenvh
Copy link
Member

svenvh commented Jul 17, 2024

Various function names in the spec have zero-width spaces in them, e.g. get_​sub_​group_​size. It seems this was done deliberately in #950 :

+// Note: the Unicode "zero width space" (​) is used in some places to
+// cause long function names to break much more sensibly.

The zero-width spaces end up in the rendered html, which interferes with copy/pasting a function name from the html:

  • Searches for that copied function name will not match actual occurrences of that function name in for example source code files.
  • Pasting the copied function name into a source file includes the zero-width spaces, which will need to be removed.
@bashbaug
Copy link
Contributor

I'll fix this - this was something I did a long time ago as part of the "extended subgroups" extension spec, probably before we observed that using the unicode "zero width spaces" in the HTML specs has some problems (see #393),

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

Successfully merging a pull request may close this issue.

2 participants