Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Whitespace handling for auto ID generation only considers space and tab #6710
What version of Hugo are you using (
@bep , looks like that's the correct behavior for GitHub-compliant auto heading ID.
Just as a side note, it seems like copy-pasting the raw text mostly converts nbsp to space. You can force the input of nbsp in your editor by some key combination (e.g. option-space in VSCode).