[GH-ISSUE #726] Website replaced -- with – (endash) and --- with — (emdash) #3206

Closed
opened 2026-04-25 17:33:23 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @anderium on GitHub (Jul 14, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/726

This is an incredibly small detail about the specification on the website. The example version 1.0.0-x-y-z.-- renders as 1.0.0-x-y-z.– on the website. Where the -- has been replaced with an endash: . Similarly 1.0.0+21AF26D3----117B344092BD renders as 1.0.0+21AF26D3—-117B344092BD. The --- has been replaced with an emdash: .

Below some screenshots. The left is from the markdown here on git and the right is from the website.

Markdown of what becomes endash The endash instead of two hypens
Markdown of what becomes emdash The endash instead of three hypens

I know that LaTeX interprets these sequences, so my guess is that somewhere in the process of generating the website a tool converts -- and ---, while it shouldn't in this case.

Originally created by @anderium on GitHub (Jul 14, 2021). Original GitHub issue: https://github.com/semver/semver/issues/726 This is an incredibly small detail about the specification on the website. The example version `1.0.0-x-y-z.--` renders as `1.0.0-x-y-z.–` on the website. Where the `--` has been replaced with an endash: `–`. Similarly `1.0.0+21AF26D3----117B344092BD` renders as `1.0.0+21AF26D3—-117B344092BD`. The `---` has been replaced with an emdash: `—`. Below some screenshots. The left is from the [markdown](https://github.com/semver/semver/blob/8b2e8eec394948632957639dfa99fc7ec6286911/semver.md) here on git and the right is from the [website](https://semver.org/spec/v2.0.0.html). <img height="30" alt="Markdown of what becomes endash" src="https://user-images.githubusercontent.com/33520919/125637753-28de2e95-96a4-4c3a-8150-26dad59b155a.png"> <img height="30" alt="The endash instead of two hypens" src="https://user-images.githubusercontent.com/33520919/125637755-0d0a8f6e-bb07-4d49-a86b-775ef0a66343.png"> <img height="30" alt="Markdown of what becomes emdash" src="https://user-images.githubusercontent.com/33520919/125637741-1b78e9c7-1fd5-4569-b2c4-73e48160408c.png"> <img height="30" alt="The endash instead of three hypens" src="https://user-images.githubusercontent.com/33520919/125637752-714e30d9-937d-4606-82b0-bee478dec10b.png"> I know that LaTeX interprets these sequences, so my guess is that somewhere in the process of generating the website a tool converts `--` and `---`, while it shouldn't in this case.
Author
Owner

@Nixinova commented on GitHub (Jul 24, 2021):

Duplicates https://github.com/semver/semver.org/issues/291

<!-- gh-comment-id:886111305 --> @Nixinova commented on GitHub (Jul 24, 2021): Duplicates https://github.com/semver/semver.org/issues/291
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/semver#3206