Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 153 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

While explaining the difference between ' '.join(x.split()) and ' '.join(x.split(None, 1)) in Python, I tried to use an example like foo__bar (with two spaces between foo and bar). However, with backtick-enclosed inline code, it looks wrong: foo bar (two spaces) looks identical to foo bar (one space). It works fine in block-code context:

foo  bar
foo bar

Is this a bug?

share|improve this question
    
    
Yeah, this is just your browser handling spaces in the <pre> tag differently than the <code> element. (Could be changed by applying whitespace: pre in CSS.) – Paŭlo Ebermann Oct 21 '12 at 21:04
up vote 2 down vote accepted

It looks like it's possible to work around this in both inline code and comments by using a non-breaking space (which, handily, can be typed with ⇧⌥Space on a Mac keyboard): this  is   a  test. Still, it's a bug that would be nice to fix...

share|improve this answer
    
comment test: this  is  a  test – nneonneo Oct 21 '12 at 19:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .