Describe the Bug
Using <code> tags in a header looks fine on the page but causes a problem in the sidebar navigation. Specifically, whitespace is lost.


Steps to Reproduce
- Use markdown like
<h5 id="bkmrk-why%C2%A0void%3F">Why <code>void</code>?</h5> in a page.
- Save the page.
Example: https://resource.reworkflow.com/books/slate/page/birth-fields-on-custom-per-page#bkmrk-why%C2%A0void%3F
Expected Behaviour
Space between regular text and text should remain in the nav link.
Screenshots or Additional Context
Any space between regular text and text is lost in the nav link.
Browser Details
Firefox 122.0 on Windows 10
Exact BookStack Version
v23.12
Describe the Bug
Using
<code>tags in a header looks fine on the page but causes a problem in the sidebar navigation. Specifically, whitespace is lost.Steps to Reproduce
<h5 id="bkmrk-why%C2%A0void%3F">Why <code>void</code>?</h5>in a page.Example: https://resource.reworkflow.com/books/slate/page/birth-fields-on-custom-per-page#bkmrk-why%C2%A0void%3F
Expected Behaviour
Space between regular text and
textshould remain in the nav link.Screenshots or Additional Context
Any space between regular text and
textis lost in the nav link.Browser Details
Firefox 122.0 on Windows 10
Exact BookStack Version
v23.12