Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 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

Here is the comment I wrote, but the back ticks do not display as code. It works in this post. How to fix?

No, I got => ["this", "is", "the", "string", "to's", "split", "real", "", "ok", "", "nice-like"] which has one empty string.

share|improve this question
No, I got => ["this", "is", "the", "string", "to's", "split", "real", "", "ok", "", "nice-like"] which has one empty string. – N.N. Mar 15 '12 at 14:32
I'm able to reproduce this only if there's a space between the backtick and =. Like this: ` = broken` ... Working: = Working – Time Traveling Bobby Mar 15 '12 at 14:34
Though, everything with a space between the backtick and the first character of the code breaks...not sure if that's a bug. – Time Traveling Bobby Mar 15 '12 at 14:35
No, I got => No, I got => ["this", "is", "the", "string", "to's", "split", "real", "", "ok", "", "nice-like"] – Shadow Wizard Mar 15 '12 at 14:40
up vote 16 down vote accepted

You must not have blank space after the first backtick or before the last backtick.

In your comment to that answer you do have space before the last backtick:

comment space

Apparently the code filter in the comments is different and more "strict" than the filter in the posts but this explains this issue.

Whether by design or a bug, only developer can tell. :)

share|improve this answer
Thanks, that worked. I think it's a bug because the functionality is different when posting a question and posting an comment. Also, I don't see any reason that a space should prevent it from formatting code. – B Seven Mar 15 '12 at 15:31
I agree so you can leave it tagged as a bug and hopefully mod or dev will come along and post official answer soon. – Shadow Wizard Mar 15 '12 at 16:06

You must log in to answer this question.

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