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

I was revising this answer, and decided not to go through with the changes I was planning to make. I pressed Ctrl+Z, then clicked the Save Edit button, knowing that it would not add an additional revision (since the body of the post had not changed).

Surprisingly it let the revision go through, and added another revision identical to the original. The automated edit summary reads:

added 15 characters in body

even though there are no additional characters. What usually happens if you click "Save Edit" without changing the body of the post at all is nothing (no additional revisions).

share|improve this question

closed as too localized by animuson, Asad Saeeduddin, Martijn Pieters, jmort253, Toon Krijthe Dec 28 '12 at 22:08

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Just curious, why didn't you click cancel edit? – Jack Dec 28 '12 at 18:57
@Jack Because "Save Edits" is a large button with bold text. From previous experience, I knew clicking Save Edits if I decided not to change anything wouldn't add an extra revision, so I usually go with that. – Asad Saeeduddin Dec 28 '12 at 18:58
Maybe in the future, the answer is to click cancel, the intended option. If you follow the robustness principle, you'd click cancel. SE is liberal in what it accepts, which is why it sometimes interprets your save click as "cancel", but you're not being conservative in what you send, so you're leaving the system to try to guess what you're trying to do. ;) – jmort253 Dec 28 '12 at 20:59

You added a newline at the end of the post, causing a new revision to be saved.

This can be seen if you use the edit links to look at each revision; the new revision has a blank line at the end of the post, while the original does not.

The markdown side-by-side diff also shows that the last line was changed:

last line marked as changed

Gamecat's 3rd revision removed the extra whitespace again.

share|improve this answer
That's not obvious at all looking at the revision history, they both look like the exact same line, just with a red and green background. You'd have to inspect the source to see that it's there, because the diff makes it look like it was already there originally. – animuson Dec 28 '12 at 19:01
*facepalm* Thanks. I think the parser should check if the output from the Markdown is identical, and reject the edit if it is. – Asad Saeeduddin Dec 28 '12 at 19:02

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