Jump links contain superflous unicode characters
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 116
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Simplify jump links by removing such characters
For example on https://wordpress.org/support/article/settings-discussion-screen/ we have these jump links:
https://wordpress.org/support/article/settings-discussion-screen/#email-me-whenever%ef%bb%bf
https://wordpress.org/support/article/settings-discussion-screen/#before-a-comment-appears%ef%bb%bf
https://wordpress.org/support/article/settings-discussion-screen/#comment-moderat%ef%bb%bfion%ef%bb%bf
Looks like this is a ZERO WIDTH NO-BREAK SPACE
https://www.fileformat.info/info/unicode/char/feff/index.htm
Also known as BOM: https://en.wikipedia.org/wiki/Byte_order_mark
I don't think it is useful or intended here and therefore should be removed to simplify those jump links.
I haven't checked any other pages, but maybe the problem is on more helphub pages.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the generated jump links on the example Settings > Discussion screen page and compare them with the source headings. Trace where the ZERO WIDTH NO-BREAK SPACE characters enter the links, then verify that affected HelpHub pages produce simplified anchors without those characters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100