Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [diff]

Refers to the views that show revision differences and suggested edit changes in various ways by breaking them down into additions and deletions.

3
votes
0answers
32 views

Too much whitespace breaks markdown side-by-side diff

I came across this "bug" when reviewing this suggested edit. The review basically removes a lot of useless whitespace from a codeblock (that was used to show a stacktrace). This is how it looks like ...
8
votes
1answer
92 views

MathJax is (inappropriately) parsed in Markdown diffs

I just noticed that this diff (select "side-by-side markdown" mode if it's not already selected) is showing MathJax where it doesn't belong: (MathJax right-click menu included to show that those ...
3
votes
0answers
28 views

“Rendered output”, “inline”, and “side-by-side” show everything as being removed then added back when it's a small edit on a long post

I just saw this edit to a very long post. The markdown diff of the edit looks fine, showing that six or so lines were changed, but the "rendered output" of the edit shows everything (even the image) ...
1
vote
0answers
26 views

Make reviewing edits with MathJax more manageable [duplicate]

Currently, when viewing an edit where MathJax is edited, the rendered output side-by-side diff breaks the MathJax rendering. This is particularly annoying when reviewing edits, as the actual result ...
-3
votes
1answer
53 views

Bug in diff: wrong words are marked as deleted and inserted

I would expect the words " in this case" to be marked as deleted. Instead " properly" is marked as deleted and inserted. Live: https://stackoverflow.com/review/suggested-edits/17378116 Screenshot:
12
votes
0answers
89 views

Diff highlighting fails on tags with diacritics in suggested edits reviews

This may seem like a ghost edit: https://es.stackoverflow.com/review/suggested-edits/51233 (SOes). It turns out the tag matemáticas was added as a suggested edit, but it was rendered as: when it ...
1
vote
0answers
11 views

Changing length of line prior to tab shows as changed in diff

If there's a tab in the answer, and the part before the tab is changed, the words after the tab will appear changed. Here's the issue in action on Bitcoin SE. The address looks changed, even though ...
2
votes
0answers
37 views

Make suggested edits which indent code easier to verify

It's fairly frequent to review suggested edits where someone helpfully puts code into code blocks. For instance: These edits are great and are appreciated; they generally improve the atmosphere of ...
8
votes
0answers
33 views

Allow side-by-side comparison of edited question titles [duplicate]

On a question's revision page, you can select between 3 diff modes: This generally works fine for edits to the question body, but does not work for the question title. E.g. in the side-by-side ...
7
votes
1answer
63 views

Revision history marks spaces when retagging occurs

When question tags have been changed you can see spaces marked with green or red color. E.g. rev 18: I suppose it's done because of easily implementation, but it looks ugly. Is it possible do ...
2
votes
0answers
24 views

Insertion highlights in revisions differ between inline vs markdown, and prefer strange similarities

This seems to be an issue that was raised in the past and then marked as status-completed, so I'm not sure if it's a regression or a different issue. There seems to be a minor issue with the ...
0
votes
0answers
23 views

Incorrect side-by-side visual diff when adding ` characters to links [duplicate]

In https://unix.stackexchange.com/posts/345508/revisions, a user edited my post to, among other things, have ` characters. The side-by-side Markdown diff shows that [the zsh manual][1] was changed to ...
1
vote
0answers
11 views

Show markdowns for revision links [duplicate]

While seeing revisions of a post, there are three options inline, side-by-side and side-by-side markdown for every revision: And every revision has link facility to share/link: But the revision ...
6
votes
1answer
186 views

Can the side-by-side diff algorithm inform the side-by-side Markdown algorithm?

The side-by-side Markdown diff of this change (to the Recent feature changes) gets rather confused, because it decides to see some similarities in the new entry for 2016-06-30 to the old one, and thus ...
2
votes
0answers
24 views

Editor feature renumbers link tags, making diffs in long posts hard to read

It is known that the javascript-based post editor sometimes renumbers all Markdown format link identifiers in a post, including identifiers of links that aren't even touched in an edit. This causes ...
3
votes
1answer
72 views

Left side markdown diff outside of its area

This is how I see this review on Chrome: It seems removal of spaces went outside of its area from the left side and looks like something was removed on the right side. This is very confusing way to ...
1
vote
0answers
26 views

Diff doesn't recognise properly the link order changes

This is the diff result (as part of the review process for suggested edits): and so on. I believe the only change was a new link and as result the ordering changed (where the order is usually re-...
5
votes
0answers
25 views

Excess whitespace deleted bleeds into suggested edit markdown

As I was making a suggested edit, I had noticed a lot of whitespace at the very end, which I then removed. Now, when I look at the markdown of the edit suggestion, it kind of makes it look like I've ...
15
votes
1answer
148 views

Improve display of suggested edit deltas for format changes

When I see an edit that adds backtick formatting like this, the formatted view shows a lot more changed text than is actually the case. Specifically, whitespace before the opening backtick and the ...
9
votes
1answer
94 views

Broken side-by-side comparison in revision page when a Youtube video is included and rendered

I came across this post and decided to check its revision (to explore the source code for the YouTube video). If we choose a view then refresh, then the views show up correctly, except for the side-...
13
votes
1answer
290 views

Side-by-side markdown diff chokes on simple indentation edit

I don't think this qualifies as a bug, exactly, but revision 5 on this post has a terrifying side-by-side markdown diff that made me think I messed something up, when all I did was highlight all the ...
1
vote
0answers
33 views

Visualizing code diffs on posts (not edits)

This question is not about the diff tool used to validate post edits. In many posts, the first person asks a question and provides some code, the reply contains some code as well. In some cases, it ...
5
votes
1answer
39 views

How do I ensure that the “formatting” edit I am reviewing does not add [undeclared] changes to the code being formatted?

A lot of edits to be reviewed does the formatting; like turning code code code code code code code code code code code code code code code code into code code code code code code cOde code code ...
4
votes
0answers
44 views

Diffs at /revisions differ from the diffs at /suggested-edits/

https://hinduism.stackexchange.com/posts/238/revisions (private beta; please don't make a mess) looks like this: The corresponding suggested edit (https://hinduism.stackexchange.com/review/suggested-...
19
votes
0answers
69 views

Allow linking to specific revision of revision history showing diff

Currently, the only way to link to a revision (clicking "link"), you just get a page which shows what the post looked like at that revision: Personally, I rarely use this and haven't ever found ...
2
votes
1answer
68 views

Edit changed nothing

A second or two after I made an edit on a post, I noticed that the original author of the post made an edit that changed absolutely nothing. Neither the Stack Overflow difference algorithm nor two ...
8
votes
0answers
118 views

The two sides of a side-by-side markdown diff are overlapping each other

Time for a super-ultra-trivial bug: if you look at diff #7 for this post on meta.Anime.SE, you see this (on Chrome 34 / Windows 7): The deleted whitespace on the left side of the diff is slightly ...
17
votes
2answers
188 views

Side-by-side diffs are not side-by-side

This only seems to be an issue here on Meta. When in the side-by-side edit view, the two versions appear above each other instead of beside. The issue does not seem to depend on the browser width, and ...
1
vote
1answer
90 views

Does Stack Overflow save all the versions of the edited blobs in database or just the diffs?

I read in many posts that Stack Overflow uses some kind of diff algorithm to find diff between text blobs of edits. I wanted to know if Stack Overflow saves all the blobs in the database as-is or if ...
0
votes
1answer
114 views

Side-by-side markdown diffs no longer render newlines. Is this deliberate?

Self-explanatory title, I think. Example here: https://stackoverflow.com/posts/21689452/revisions FYI Firefox 26.0 Win XP SP3.
10
votes
2answers
598 views

What does Stack Overflow use for its community wiki edits comparison feature?

I am referring to this feature: Note how Stack Overflow shows which bits have been deleted, and which parts have been added (shown in red and green). Basically, I was wondering if Stack Overflow ...
4
votes
1answer
92 views

Strike Through in Side by Side Views

Removing the red strike though of the red text on red background in side by side views would improve readability. From https://stackoverflow.com/review/suggested-edits/3702973 Even with markdown: ...
3
votes
0answers
123 views

Differentiate formatting changes in Revision Diff from text content changes

In the current style of diff pages, all changes made in an edit are shown as deletions and additions. This makes it rather difficult to distinguish between formatting and capitalization changes from ...
13
votes
0answers
86 views

Bugged simultaneous edit

In the following post: https://stackoverflow.com/posts/19760375/revisions A user made a minor edit to my post (edit 3) by correcting a mistake at the same time that I made a larger but non-...
30
votes
1answer
192 views

MathJax rendering for suggested edit queue [duplicate]

I would like to suggest a new feature that when reviewing suggested edits on sites that support MathJax that the suggested edit queue renders the MathJax in the rendered output view. The following ...
1
vote
0answers
20 views

Add a toggle for disabling diff markup when reviewing [duplicate]

I review suggested edits on Stack Overflow that contain lots of alterations to back-tick code tags. It can be quite difficult to get a feel for how the edited post looks once those changes have been ...
8
votes
0answers
49 views

Asked to review instead of edit, but cannot because temporary review quota reached

I clicked Edit to edit a question (to add tags). I was told to instead review a pending edit for the question. But I had already reviewed the maximum number of edits for that category for now, so it ...
8
votes
0answers
65 views

Reviewed suggested edit view for title-only edits takes body of last revision?

Yesterday I was pointed at some rejected suggested edits. Some of the corrections were valid, so I edited the posts accordingly, while making several further edits. Looking at the suggested edits now ...
2
votes
1answer
51 views

See edit diff before it has been accepted

Are you able to see the revision diff (eg) for a question/answer you just edited? I.e. It hasn't been accepted yet, so it mightn't appear in the actual revision history. Is there a way to see the ...
7
votes
0answers
98 views

Word-wrap unhelpful when reviewing code-block edits

The lack of horizontal scrolling in side-by-side diffs of code-blocks during the review process often makes the process somewhat challenging. Here is an example that prompted me to finally speak up ...
3
votes
2answers
54 views

Edit reviews: Highlight code formatting differently

Suppose you got the following edit to review: Looks fairly reasonable to give that bunch of code the relevant formatting information, I would say. But would you notice if there was any relevant ...
0
votes
0answers
45 views

Make it obvious that a link was added in the diff [duplicate]

Sparked by Confused over an edit rejection / https://stackoverflow.com/review/suggested-edits/1884717 Currently, in a diff, it is hard to see where links have been added unless you jiggle your mouse ...
5
votes
2answers
90 views

Empty markdown diffs do not show difference

Sometimes, there are empty diffs for review, like in this case. I believed they represent nothing, thus can be discarded. Edit: Actually, the markdown does not show the difference.
0
votes
1answer
213 views

More precise highlighting for diffs

When a single letter s or d is added to a word, the entire new word is highlighted as if the entire word would be completely new. It would help a lot by differentiating between letters that have been ...
3
votes
1answer
73 views

Bug in markdown rendering when only diffs are whitespace

This suggested edit diff looks very wrong when showing the markdown. The rendered output diff is fine, though. It almost seems as though it has prioritsed matching one part of the text including the ...
5
votes
1answer
111 views

Syntax highlighting hints break revision diffs in editor's activity tab

After adding language hints to various answers to this question, I discover that the affected code blocks are shown with all their whitespace collapsed in the rendered diffs in my activity tab... and ...
3
votes
1answer
237 views

Improved way of reviewing “improved formatting”

When I review posts, I often see "improved formatting" but when looking down on the post in the narrow side by side view, with rendered output, all I can focus on is a blur of overstrikes, red and ...
4
votes
1answer
58 views

Tag shows as deleted and re-inserted, even though I didn't edit it

I added the "osx" tag to a question. Nothing else. It shows that the "colors" tag was removed, and then re-added. What gives? Wouldn't it make sense to show it like this?
0
votes
0answers
25 views

Missing whitespace characters in revision diff [duplicate]

In the revision history to Which ending should come if I kill all of the NPCs in Fallout: New Vegas?, the space between "Fallout" and "New Vegas" that appeared in the original post appears to ...
7
votes
2answers
303 views

Diff removes a space when it shouldn't

This is a pathetic bug, I know, but each and every... The diff engine is removing a space here. Screenshot of the infelicity for your delectation: In the source there is no space: <p>... the ...