In answering a question earlier today, I used some funky formatting. While this formatting might not be the best way of doing things, there is still a bug where the preview question doesn't look the same as the published question. This is what I used:

export FOO=/bi

Tab returns: export FOO=/bin

export FOO=/bin:/sb

Tab returns: export FOO=/bin:/sbin

In the preview, it looks like this:

But in the published question, well, it looks like what is above. On my screen, it looks like this:

Feel free to edit the question and see the code for yourself. The bug here is that the preview (while typing the question) doesn't look the same as the submitted question (or answer, both have the same issue). In the preview, there are no extra lines, but once submitted there are 3 extra lines in each "segment".

  • About midway through, there's a closing code tag instead of an opening one. Probably relevant. Sep 8, 2016 at 1:17
  • @NathanTuggy Thanks for catching that, changed it to what it should be (which was </code></pre><pre><code>), but the bug is still in place. Sep 8, 2016 at 5:25


You must log in to answer this question.

Browse other questions tagged .