tech-docs-gem
tech-docs-gem copied to clipboard
Tech docs converts punctuation to HTML entities in IDs
What
If a heading includes for instance an apostrophe it gets converted to its entity reference number in the resulting id.
So for instance
## Turn on 'compatibility mode'
results in the URL https://frontend.design-system.service.gov.uk/compatibility-mode/#39-compatibility-mode-39
and
## Find out which version you're using
Why fix this
The URLs end up looking pretty weird, this might or might not be an issue for users.