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

**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:** 1

<div class="post-metadata">

**Author:** ![szhorvat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/szhorvat/32/154711_2.png) [@szhorvat](https://meta.discourse.org/u/szhorvat)\
**Post date:** [9 במרץ,‏ 2023,‏ 9:17am UTC](https://meta.discourse.org/t/consecutive-spaces-in-inline-code-get-collapsed/257585/1 "2023-03-09T09:17:21Z")

</div>

Consecutive spaces in inline code get collapsed. Here’s an example.

Markdown:

```plaintext
 - `o o` no connection
 - `o --> o` unidirectional connection
 - `o <-> o` bidirectional connection

```

Rendering:

- `o o` no connection
- `o --> o` unidirectional connection
- `o <-> o` bidirectional connection

Screenshot of rendering:

 ![image](https://global.discourse-cdn.com/meta/original/4X/9/b/f/9bfeb91336b6f436eac6b80cdd2099a65a45952a.png)

It’s unclear to me whether this is intentional or a bug, but if it’s intentional, I do not really see the point. As you can see above, it can be counterproductive. If one does not want extra spaces, it is easy to delete them manually. The point of code blocks (whether inline or separate) is to include verbatim text with a fixed-width font.

---

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