Fixed inline code does not preserve whitespace

Sim

Well-known member
Affected version
2.1, 2.2
The code block preserves whitespace so we can do indents and such:

Code:
1 2  3   4

However, the inline code does not preserve whitespace but collapses it like normal HTML:

1 2 3 4

Inline code should really have something like whitespace: pre-wrap CSS applied to it so that it preserves whitespace but wraps text as necessary.
 
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.0 Beta 3).

Change log:
Attempt to preserve whitespace in inline code styling.
There may be a delay before changes are rolled out to the XenForo Community.
 
Back
Top Bottom