What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 134 Stack Exchange communities.

This happens in suggested-edits, I didn't look at others

share|improve this question

1 Answer 1

up vote 3 down vote accepted

When tokenizing the text for running the diff engine over the tokens, lengths of white space are condensed into a single token. So in your case, the token that had changed included the newline character. In code blocks this looks weird, because here a newline actually has a meaning (unlike in normal HTML text, where it's just like any other whitespace).

The next build fixes this, so only if a newline is actually added will this be visible, like this (hypothetical) edit:

image of a diff with a whitespace change

share|improve this answer

You must log in to answer this question.

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