mirror of
https://github.com/semver/semver.git
synced 2026-07-10 19:50:47 -05:00
[GH-ISSUE #750] Examples rendered with U+2013 EN DASH and U+2014 EM DASH #7474
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ajtribick on GitHub (Aug 28, 2021).
Original GitHub issue: https://github.com/semver/semver/issues/750
On the website https://semver.org the examples in sections 9 and 10 containing consecutive hyphens are rendered with U+2013 EN DASH (1.0.0-x-y-z.–) and U+2014 EM DASH (1.0.0+21AF26D3—-117B344092BD), giving the impression that these characters are valid in the syntax. This conflicts with the statement "Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]".
Possibly the consecutive hyphens could be escaped in the Markdown source?
@perey commented on GitHub (Oct 9, 2021):
I saw this too, but after a bit of digging I found that it'd been reported already, and then moved to the website's repo as semver/semver.org#291. (That only flagged the error in s.9, but there's also semver/semver.org#320 for s.10.)
@ajtribick commented on GitHub (Oct 9, 2021):
Ah sorry, didn't find that one when raising this. Closing.