hackmdio / hackmdio/hackmd-io-issues
Apostrophes not being stripped from heading anchors
Open
- Dominant language
- No language data
- Stars
- 40
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I would expect a heading of `## We're on fire` to have an anchor name of `#we-re-on-fire`, but in fact it is `#We%u2019re-on-fire`. To add an extra layer of confusion - if you copy the link it comes up as `#We%E2%80%99re-on-fire`.
I have got used to the capitalisation of the first letter of the anchor (unusual in markdown), but I believe that any consecutive non-word characters should be replaced with a single hyphen.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.