Table of contents when title contains markup
Closed this issue · 3 comments
jean-gui commented
When a heading contains markup (for example <abbr>
), the corresponding entry in the ToC seems to remove some spaces.
See https://beta.w3.org/standards/types/ for an example:
- one heading is
<abbr title="World Wide Web Consortium">W3C</abbr> Registry Track
- the ToC is
W3CRegistry Track
koalie commented
Another example is "
1. Summary table
" where I've had to add two spaces so that the resulting "on this page" navigation displays one space after the number.simonrjones commented
Fixed in Pull Request #99
Will review & get this merged in ASAP.
simonrjones commented
This is fixed and available in v0.8.1