# Space before/after inline code gets collapsed sometimes

**URL:** https://meta.discourse.org/t/space-before-after-inline-code-gets-collapsed-sometimes/29301
**Category:** Bug
**Tags:** markdown
**Created:** [May 27, 2015, 10:42am UTC](https://meta.discourse.org/t/space-before-after-inline-code-gets-collapsed-sometimes/29301 "2015-05-27T10:42:12Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![huon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/huon/32/114721_2.png) [@huon](https://meta.discourse.org/u/huon)
#### Post date: [May 27, 2015, 10:42am UTC](https://meta.discourse.org/t/space-before-after-inline-code-gets-collapsed-sometimes/29301/1 "2015-05-27T10:42:12Z")

</div>

Example: `A` `B` `C`

Source:

```markdown
`A` `B` `C`

```

For me (both Firefox nightly and Chromium 41 on x86-64 Linux), it is rendered like `A` `BC`, that is, the `B` and `C` are displayed with no space between them despite having one in the source. It seems to be quite sensitive to the exact contents of a paragraph.

(Example in the wild: the mentions of “`Arc`” in the last paragraph of [Rc is unsafe [mostly on 32-bit targets] due to overflow - #36 by dgrunwald - Rust Internals](https://internals.rust-lang.org/t/rc-is-unsafe-mostly-on-32-bit-targets-due-to-overflow/2120/36?u=huon) )

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [May 27, 2015, 11:07am UTC](https://meta.discourse.org/t/space-before-after-inline-code-gets-collapsed-sometimes/29301/2 "2015-05-27T11:07:59Z")

</div>

Duplicate of:

> [@Odd markdown results - unexpected whitespace removal](https://meta.discourse.org/t/odd-markdown-results-unexpected-whitespace-removal/28989):
>
> The following markdown seems to remove white space between letters on the 2nd line Markdown Code `leosomethingelse` - `leo address 1` - created `1 year ` - mem `period 11` & `period 12` - seen `6 hours ago` `leo` x `leo address 2` - created `\>10 years` - mem `period 05 to period 08` - seen `never on this planet` Actual Result Expected Result As it displays on here right now leosomethingelse - leo address 1 - created 1 year - mem period 11 & period 12 - seen 6 hours ago …

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 27, 2015, 11:13am UTC](https://meta.discourse.org/t/space-before-after-inline-code-gets-collapsed-sometimes/29301/3 "2015-05-27T11:13:56Z")

</div>


