# רווחים עוקבים בקוד מוטמע מתכווצים

**URL:** <https://meta.discourse.org/t/consecutive-spaces-in-inline-code-get-collapsed/257585>\
**Category:** UX\
**Tags:** markdown\
**Created:** [9 במרץ,‏ 2023,‏ 9:17am UTC](https://meta.discourse.org/t/consecutive-spaces-in-inline-code-get-collapsed/257585 "2023-03-09T09:17:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
**Post date:** [9 במרץ,‏ 2023,‏ 10:30am UTC](https://meta.discourse.org/t/consecutive-spaces-in-inline-code-get-collapsed/257585/2 "2023-03-09T10:30:11Z")

</div>

Hi Szabolcs!

Thanks for the report. I understand the issue, and it’s not strictly a Discourse bug. Discourse uses [markdown-it](https://github.com/markdown-it/markdown-it), and this is its standard behavior.

You can see the same behavior on the official demo: [https://markdown-it.github.io](https://markdown-it.github.io).

* * *

If you need spaces not to be collapsed between backticks, you can add this CSS to your forum:

```css
code {
    white-space: pre-wrap;
}

```

---

_[View the full topic](https://meta.discourse.org/t/consecutive-spaces-in-inline-code-get-collapsed/257585)._
