44

The OP apparently performed an edit (a one character add from the revision comment). Except:

no change revision

https://meta.stackoverflow.com/posts/287756/revisions

So what was the change? Even an invisible character should appear in the markdown diff. Is this a bug?

4
  • 7
    @Servy Of course, and its going that way (hence the screenshot). Still would like to know if there is a bug in the system creating incorrect edit revisions though. Commented Mar 10, 2015 at 19:11
  • 1
    Perhaps the one character was removed again within the five minute grace period. Commented Mar 10, 2015 at 19:34
  • 1
    @NisseEngström I believe in such cases the revision history entry is supposed to go away (you can use that trick to reverse a vote as well) Commented Mar 10, 2015 at 19:35
  • 1
    @NisseEngström If someone did that it would look like this. That's not what the linked revision looks like.
    – Servy
    Commented Mar 10, 2015 at 20:04

1 Answer 1

37

The difference is in a single carriage return character. To test, I downloaded both revisions using the source link and diffed them in a hex editor.

diff hex

Ignoring the differences in the GUID in the title tag in the header, we can see that in revision 5 79 0A 0D 0A became 79 0D 0A 0D 0A. This white space appears between the following two line in the revision.

Thing is every one know some thing about answer. Soo you must post your answer very creativly but must answer corectly

So when questioner thought your answer is best he will vote you.

Using Tamper Data, I was able to reproduce this with the revision history to this answer in revision 2.

8
  • I was about to suggest that it was a CR/LF issue, but I wouldn't have done such a nice investigation to prove that, as you did. Btw, reproducing that again in this post would be awesome! +1
    – falsarella
    Commented Mar 11, 2015 at 23:52
  • 1
    @falsarella I just did it with this answer, see revision 2. Commented Mar 12, 2015 at 0:05
  • 5
    How the heck do you add a single carriage return? Thats a weird thing to do... Good catch though! Still weird that the markdown diff didn't catch it. Commented Mar 12, 2015 at 0:08
  • 4
    @AlexanderO'Mara Wööt? O.o' Well done! In fact, I don't think that's what happened in OP's case... Probably he posted the answer on Linux/Mac, edited on Windows, and then tried to manually rollback at Linux/Mac, but accidentally changed one CR/LF to an CR or an LF, depending on the environments used. Anyone interested in reproducing with these steps?
    – falsarella
    Commented Mar 12, 2015 at 0:21
  • 6
    @falsarella: Except that linefeeds are usually normalized on the web (by your browser). If they're not using an external editor that directly talks to the SO API :-)
    – Bergi
    Commented Mar 12, 2015 at 2:12
  • 3
    Hah, that's cool! I wonder if the markdown diff missing this qualifies as a bug or a feature...
    – user3079266
    Commented Mar 12, 2015 at 11:45
  • 1
    What hex editor is that?
    – eggyal
    Commented Mar 13, 2015 at 2:13
  • @eggyal That would be Hex Fiend, specifically the latest release on GitHub. Commented Mar 13, 2015 at 2:30

You must log in to answer this question.

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