yfm-transform icon indicating copy to clipboard operation
yfm-transform copied to clipboard

Inline code formatting collapses consecutive spaces into single one

Open StoneSpb opened this issue 7 months ago • 0 comments

I have code snippet with consecutive spaces:

#endif  // BUILDFLAG(IS_IOS)

When I use inline code formatting the consecutive spaces collapse into single one, which is undesired: #endif // BUILDFLAG(IS_IOS) The behavior is different from code block formatting.

The issue may be caused by using white-space: normal style: https://github.com/diplodoc-platform/transform/blob/4d719347e5ca96617a0bf6258f18723245e99433/src/scss/_common.scss#L327

StoneSpb avatar Jul 02 '24 13:07 StoneSpb