Inline Code blocks collapse multiple spaces in a row
Note: this is fixed in the 0.29 of the CommonMark spec. Once that's released and https://github.com/gjtorikian/commonmarker/ is updated, we can pull in the latest version to get this feature.
Summary
Multiple spaces in monospace blocks are collapsed. This kinda defeats the point of a monospace block.
Steps to reproduce
Write backtick, x, space, space, x, backtick, such as x x and observe that it's rendered with a single space instead of two. The same thing with five spaces looks the same: x x
Example Project
Not needed.
What is the current bug behavior?
A run of spaces in a monospace block is collapsed to one space.
What is the expected correct behavior?
The number of spaces preserved.
Relevant logs and/or screenshots
Literally this ticket. Look above for the repro.
Output of checks
This bug happens on GitLab.com as well as self-hosted installations
Results of GitLab environment info
Expand for output related to GitLab environment info
whatever you're running on gitlab.com I guess
Results of GitLab application Check
Expand for output related to the GitLab application check
I really hope your tests are passing on gitlab.com so pls investigate
Possible fixes
Nothing that I know of
Edited by Brett Walker